C++ compiler?

Message
Author
User avatar
dolphin_oracle
Developer
Posts: 22069
Joined: Sun Dec 16, 2007 12:17 pm

Re: C++ compiler?

#21 Post by dolphin_oracle »

gcc is a metapackage and was added to our package lists after 23.1's release. it will be on future releases and the november snapshots.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
kmathern
Developer
Posts: 2511
Joined: Wed Jul 12, 2006 2:26 pm

Re: C++ compiler?

#22 Post by kmathern »

Might need to manually download the gcc package too. I'll check later, I'm not at my computer right now (posting this from my phone).

I tested installing build-essential from a mx23 install I've been using for a while and gcc might've already been installed. I'll test it again in a LiveUsb session.

Earlier MX versions came with build-essential preinstalled, I'm not sure when they stopped doing that.

User avatar
kmathern
Developer
Posts: 2511
Joined: Wed Jul 12, 2006 2:26 pm

Re: C++ compiler?

#23 Post by kmathern »

Okay, in a fresh LiveUSB session where nothing has been installed yet it looks like you also need the gcc package (download link below)

Code: Select all

http://deb.debian.org/debian/pool/main/g/gcc-defaults/gcc_12.2.0-3_amd64.deb

Installing in LiveUsb session

Code: Select all

demo@mx1:~
$ apt-get --print-uris install build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  g++ g++-12 gcc libstdc++-12-dev
Suggested packages:
  g++-multilib g++-12-multilib gcc-12-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc libstdc++-12-doc
The following NEW packages will be installed:
  build-essential g++ g++-12 gcc libstdc++-12-dev
0 upgraded, 5 newly installed, 0 to remove and 38 not upgraded.
Need to get 12.8 MB of archives.
After this operation, 57.0 MB of additional disk space will be used.
'http://deb.debian.org/debian/pool/main/g/gcc-defaults/gcc_12.2.0-3_amd64.deb' gcc_4%3a12.2.0-3_amd64.deb 5216 MD5Sum:f3dcf34728690484124bce954cc2c734
'http://deb.debian.org/debian/pool/main/g/gcc-12/libstdc%2b%2b-12-dev_12.2.0-14_amd64.deb' libstdc++-12-dev_12.2.0-14_amd64.deb 2046372 MD5Sum:ebf5cd67cf8a1c4168144ad096723ed0
'http://deb.debian.org/debian/pool/main/g/gcc-12/g%2b%2b-12_12.2.0-14_amd64.deb' g++-12_12.2.0-14_amd64.deb 10694356 MD5Sum:c7ddaa4c1a2490b837c9ee95198bc9d7
'http://deb.debian.org/debian/pool/main/g/gcc-defaults/g%2b%2b_12.2.0-3_amd64.deb' g++_4%3a12.2.0-3_amd64.deb 1356 MD5Sum:ee1214564633e8a0ec102e218b4c66ca
'http://deb.debian.org/debian/pool/main/b/build-essential/build-essential_12.9_amd64.deb' build-essential_12.9_amd64.deb 7704 MD5Sum:4f52ee9542b58fce300ae068b634d281
demo@mx1:~
$ 

User avatar
anticapitalista
Developer
Posts: 4282
Joined: Sat Jul 15, 2006 10:40 am

Re: C++ compiler?

#24 Post by anticapitalista »

Off-topic - @kmathern great to see you here again!
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
Jerry3904
Administrator
Posts: 23083
Joined: Wed Jul 19, 2006 6:13 am

Re: C++ compiler?

#25 Post by Jerry3904 »

Agreed!
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Post Reply

Return to “Software / Configuration”