Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I'm trying to setup Saucy to install clang and llvm 3.4 from the official LLVM apt repo, but it doesn't work. I only get the 3.4 snapshots from Ubuntu's own repos. I followed the instructions from and added the following to my /etc/apt/sources.list:

deb llvm-toolchain-saucy main
deb-src llvm-toolchain-saucy main

But after doing an sudo apt-get update, I still only see the packages from the Ubuntu repo:

$ sudo apt-get --print-uris download clang-3.4
'' clang-3.4_3.4~svn183914-1ubuntu1_amd64.deb 11996652 sha256:5b5f10b0d90d0654672dca596980616814a5e3eca4346f43011d2e914602bbe5

Is this a problem on my end, or is the apt repo broken?

share|improve this question
Use apt-cache policy clang-3.4. – Braiam Jan 16 '14 at 15:28

Seems the instructions might be incorrect. I added the following to my /etc/apt/sources.list file:

deb llvm-toolchain-saucy-3.4-binaries main
deb-src llvm-toolchain-saucy-3.4-binaries main

Note llvm-toolchain-saucy-3.4-binaries.

Seems to work so far:

$ sudo apt-get --print-uris download clang-3.4
'' clang-3.4_3.4~+-1~exp1_amd64.deb 12571468 sha256:7a68e24fe6040fa4e5ef6a54a7c7406c04b1f7ba2bfaa5c92eee1c39adfb36b6
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.