I would like to know whether there is an officially-mandated or recognized C/C++ Package Manager.

  • 1
    Conan is a package manager. – Gible Aug 9 '20 at 13:10
  • There is no offial one, no standard describes it. But I think conan is a good idea. – peterh - Reinstate Monica Aug 9 '20 at 17:29
  • Ok thank you :) – Ducklett Aug 9 '20 at 17:30

As @peterh describes in a comment, neither C nor C++ have an official package manager for libraries, modules or headers. This is dissimilar from languages like Rust (with the Cargo package manager) or Ruby (with Gems).

Also, C and C++ are very different languages, despite their having common "ancestry", and I would not conflate managing packages for both of them ... although others don't necessarily share my opinion on the matter.

Finally, C++20 will introduce modules into the language, creating an entirely new space of potential packaging of C++ artifacts - but which obviously has not yet been developed and explored.

See also this question here on the site regarding non-official C++ package managers.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.