I need to add the following repo in ubuntu 16.04:
deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty main
I attempted to add that repo by typing following command:
sudo add-apt-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty main"
I want to add that repo because I want to install packages from there.
I see that after the add-apt-repository command there is an entry added in /etc/apt/sources.list
but when I am trying to install the package using sudo apt-get install clang-3.4 I still get error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package clang-3.4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'clang-3.4' has no installation candidate