пятница, 21 апреля 2017 г.

How to install GCC 4.9 on old LTS Ubuntu 14.04

 О том, как установить  GCC 4.9  на старую Ubuntu 14.04 или 12.10


I've found a pretty good solution for that.


sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 50
sudo apt-get install g++-4.9
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 50


Source:
https://gist.github.com/ibogun/ec0a4005c25df57a1b9d

Комментариев нет:

Отправить комментарий