While I know, that I can install the latest clang compiler for xenial from http://apt.llvm.org/xenial/ (Doku: https://apt.llvm.org/) I could not determine how to install the latest version of libc++ (llvm's standard library implementation).

Is there a separate repository for that or do I have to manually download and compile the latest version of that library?

Btw.: I know that clang will use libstdc++ by default and most of the time that is OK for me, but sometimes I like to experiment / test my code with libc++ or use features that are not yet part of libstdc++.

  • If it is not in the repos you have to find a ppa, .deb, or compile it yourself. Support for doing so is going to be limited at best. – Panther Sep 1 '17 at 17:41
  • @bodhi.zazen: Do you know a place, where I could find a repository / package containing libc++? – MikeMB Sep 1 '17 at 17:52
  • Only releases.llvm.org/download.html – Panther Sep 1 '17 at 17:59
  • @bodhi.zazen: Thanks, but unfortunately that page only provides the sources for libc++(unless I overlooked something). – MikeMB Sep 1 '17 at 18:02
  • That is the only source I could find period. No ppa or repo available, often the case when you want the latest available - askubuntu.com/questions/151283/… – Panther Sep 1 '17 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.