Ubuntu 12.04 LTS - update gcc

0

Potrzebuję zrobić update gcc na Ubuntu 12.04 LTS, znalazłem taki temat tutaj: link Chciałbym zrobić to poprzez repozytorium:

 
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50

Najnowsza wersja to 4.8.2, więc zamienię odpowiednie fragmenty poleceń. Jeśli jest w repo to powinno się udać. Co oznacza wartość "50" w ostatnim wierszu ?

0

Zobacz po prostu man update-alternatives. Ten parametr to priority:

man update-alternatives napisał(a)

Each alternative has a priority associated with it. When a link group is in automatic mode, the alternatives pointed to by members of the group will be those which have the highest priority.

1 użytkowników online, w tym zalogowanych: 0, gości: 1