I've just discovered the wonderful gcc-snapshot package for Ubuntu. I don't see a clang-snapshot or llvm-snapshot package though. Is there an equivalent for clang?
1 Answer
If you want a later version of clang installed on a regular basis you might want to add one of the PPAs on LaunchPad e.g. this one or this one.
Once you have the PPA added to your /etc/apt resources, the package can update the package with the normal system update/upgrade just like gcc-snapshot would do.
These PPAs are normally the latest, which means not always stable versions of the software. gcc-snapshot is AFAIK somewhat more conservative, being a later version of gcc at the time of release of the Ubuntu version you are using, (but which was not used to compile the system itself).