Skip to content

C++ Package Manager?

  • Why does not C++ have a Package Manager?
  • How to let C++ have a Package Manager?
  • Why does C++ Package Manager not widely be used?
  • ...

Maybe you find all of these question answers are NO, but don't you feel strangeful about the C++ Package Manager question.

In fact, C++ Package Manager Systems have already existed and been widely used for many years!

Your os producer has done everything for you. They are not only C and C++ Package Manager, but also the software dependency build system. C and C++ are the low and high level system/app software foundation of your operating system, the os could not do any useful things without which, so the os producers have to let them work so as to a fully functional manage system beyond a package manager, but never call it package manager or cpm.

ArchLinux - pacman

pacman is the arch linux binary software dependency PACkage MANager.

Search

pacman -Ss vim

Install

pacman -Su vim-nox11

Update

pacman -Syu

Uninstall

pacman -R vim-nox11

FreeBSD - ports/pkg

ports are the FreeBSD source code Build System.

pkg is the binary software  Package Manager that automatically download and install software and its dependencies.

Search

pkg search vim

Install

pkg install vim-console

Update

pkg upgrade vim-console
pkg update -f
pkg upgrade

Uninstall

pkg delete vim-console

NetBSD - pkgsrc/pkgin

Source Code Build: pkgsrc

Binary: pkgin

pkgin search llvm
pkgin install llvm

OpenBSD - ports/pkg_*

Source Code Build: ports

Binary: pkg_*

pkg_add fossil

 

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Submitted comments will be subject to moderation before being displayed.

ijku     SpartanCoin