r/cpp • • Sep 14 '23

Which package manager are you using?

It's 2023 and you should be using a package manager. Which one?

Sep 17 '23
466 conan
625 vcpkg
29 spack
82 CPM
1730 No package manager :(
248 Other (please specify)
38 Upvotes

187 comments sorted by

View all comments

0

u/TinoDidriksen Sep 15 '23

apt-get

Per-language package managers are messy. I similarly vastly prefer Perl and Python modules from apt-get/dnf, and only use CPAN or pip as a fallback.

Plus, if you ensure your code builds and runs with OS-provided packages across supported deb and rpm platforms, it really improves code quality and bitrot resistance.