4 ms·
Not sure why folks think a “nodejs” type package manager is required… For instance, what is this if not package management? apt install libpng-dev
by wibagusto 5y ago
Not sure why folks think a “nodejs” type package manager is required…
For instance, what is this if not package management?
apt install libpng-dev
- snerbles 5y agoIt's distro-specific, for one.
- ori_b 5y agoAt least it's not language specific.
- nicoburns 5y agoIt's pretty much C-specific. Packages for other languages tend to be pretty difficult to work with when installed this way (e.g. you end up with problems if you have 2 projects depending on different versions of the library)
- ori_b 5y agoHow so? It's normal for incompatible versions to get parallel installations.
- stingraycharles 5y agoSure that’s a package manager, but it’s a distro specific one. Now make one that works on all Linux distributions. And now make one that works on all operating systems. This is the problem that npm, pip, and whatnot solve. They work the same, (almost) everywhere. C/C++ don’t have a proper answer for it.
- yissp 5y agoYou can install apt / dpkg (or dnf / rpm, pacman, portage, nix, ...) on pretty much any distro. You are really just asking why there's no de-facto standard package manager for C like there is for those other languages.
- wibagusto 5y agoWell, the difference between C and Python or Node though is that C is used by the operating system APIs and so it is somewhat tied to each system and their package managers. In contrast, Python/Node exist for the most part at the application layer.