I've read up some advice, mostly from the Unix StackExchange and have been following the instructions on apt.llvm.org.
First I added the repository using
sudo apt-add-repository
and then the repository. As I understand this version of Mint is based on Ubuntu 16.04 I added the ones recommended by LLVM:deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main
and then
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main
.This all seemed to work fine.
To retrieve the archive signature I then ran
Code: Select all
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - # Fingerprint: 6084 F3CF 814B 57C1 CF12 EFD5 15CF 4D18 AF4F 7421
Finally I tried typing
sudo apt-get install
followed by the various names of the files I need. At this point I got an error message:
Code: Select all
E: malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
I must admit I am stumped. Anyone's help would be much appreciated; either in remedying this error, or advice on an alternative method of installing Clang/LLVM.
Best wishes,
Andrew