- Registriert
- Apr. 2018
- Beiträge
- 393
Installation von gcc 8.2
root@linux:/# apt install gcc-8
root@linux:/# apt install g++-8
root@linux:/# update-alternatives --config gcc
There are 2 choices for the alternative gcc (providing /usr/bin/gcc).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/gcc-8 800 auto mode
1 /usr/bin/gcc-7 700 manual mode
2 /usr/bin/gcc-8 800 manual mode
Press <enter> to keep the current choice[*], or type selection number: 0[/CODE]
Quelle: https://askubuntu.com/questions/1028601/install-gcc-8-only-on-ubuntu-18-04
root@linux:/# apt install gcc-8
root@linux:/# apt install g++-8
root@linux:/# update-alternatives --config gcc
There are 2 choices for the alternative gcc (providing /usr/bin/gcc).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/gcc-8 800 auto mode
1 /usr/bin/gcc-7 700 manual mode
2 /usr/bin/gcc-8 800 manual mode
Press <enter> to keep the current choice[*], or type selection number: 0[/CODE]
Quelle: https://askubuntu.com/questions/1028601/install-gcc-8-only-on-ubuntu-18-04
Zuletzt bearbeitet: