I just want to install the newest version of clang http://packages.ubuntu.com/raring/clang-3.2
Does this mean I have to update my kernel to raring?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Clang 3.2.1 for 13.04(Raring) is available from the universe repository and can be installed normally through Synaptic or apt.
For 12.04, You can add the PPA to your repository through Synaptic using the following line(with instructions provided in the link below):
deb http://ppa.launchpad.net/kxstudio-team/builds/ubuntu precise main
Or, from the command line(Ctrl+Alt+t):
sudo add-apt-repository ppa:kxstudio-team/builds sudo apt-get update sudo apt-get install clang
To install the PPA on 12.10, run the following commands from the terminal(Ctrl+Alt+t):
sudo add-apt-repository ppa:georgekola/clang sudo apt-get update sudo apt-get install clang
In Synaptic, add the following line:
deb http://ppa.launchpad.net/georgekola/clang/ubuntu quantal main
Note for the 12.10 packages: The deb files are named 3.2-1~exp5ubuntu1 from February 2013, while the PPA is 3.2-1~exp1ubuntu3 from December 2012. Personally, I am using clang 3.2.1 on 12.04 and cannot currently give a recommendation over which package to use on 12.10.