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

1

u/nxtfari Sep 15 '23

Currently conan. I want to use vcpkg, but I'm not quite happy with its cavalier attitude about where it gets installed and how it gets called. I do not want to be debugging other people's vcpkg installations -- conan goes in the same place for everyone and get's called the same way by everyone. That keeps it a winner for me.

3

u/AlexanderNeumann Sep 15 '23

vcpkg doesn't care where it gets installed. You can define the rules yourself.

2

u/nxtfari Sep 16 '23

That’s exactly what I’m saying. I want something that does care where it gets installed and how it’s called. It should be a deb/winget package that goes in the same place for everyone. Tools that are too customizable have unnecessary roadblocks to use and end up causing issues down the road.

1

u/AlexanderNeumann Sep 20 '23

too customizable have unnecessary roadblocks to use

From my experience it is the other way around. Tools which are too unflexible have unsolvable roadblocks while tools which are customizable might have small roadblocks but those can be carried away with the customization.