Page 3 of 3

Re: C++ compiler?

Posted: Thu Nov 09, 2023 3:20 pm
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.

Re: C++ compiler?

Posted: Thu Nov 09, 2023 3:29 pm
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.

Re: C++ compiler?

Posted: Thu Nov 09, 2023 4:02 pm
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:~
$ 

Re: C++ compiler?

Posted: Thu Nov 09, 2023 6:05 pm
by anticapitalista
Off-topic - @kmathern great to see you here again!

Re: C++ compiler?

Posted: Thu Nov 09, 2023 6:11 pm
by Jerry3904
Agreed!