Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How i can safe update a gcc compiler v 4.4.3 to 4.6.1 under Ubuntu 10.04?

i try:

igor@igor-desktop:~$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
[sudo] password for igor: 
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver --recv 60C317803A41BA51845E371A1E9377A2BA9EF27F
gpg: requesting key BA9EF27F from hkp server
gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
igor@igor-desktop:~$ sudo apt-get install gcc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.

but don't success :(

share|improve this question
try searching for gcc-4.6 from synaptic and install. Adding ppa upgrades the versions if they are already installed so you may try sudo apt-get upgrade – sagarchalise Aug 23 '11 at 7:01
After adding a PPA, you should always run a sudo apt-get update in order to include the PPAs packages ;-) – Pavlos G. Aug 23 '11 at 13:41

The particular PPA you have pointed to in your question will update your GCC compiler from v4.4 to v4.5.

N.B. You need to run sudo apt-get update && sudo apt-get upgrade to uplift to this later version.

On launchpad I have found this PPA which looks promising to uplift lucid to gcc4.6 or this from the linaro maintainers.

Note - I'm not making any claims about the veracity of these PPAs. Please see possible related questions below.

Related Questions:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.