
Once this is completed, pkgin is fully functionnal. This operation will download the pkg_summary(5) file from the repository and then populate the SQLite database. configure -prefix=/usr/pkg -with-libraries=/usr/pkg/lib -with-includes=/usr/pkg/includeįirst thing to do before using pkgin is to setup a repository in the $/etc/pkgin/nf file : Invoke the configure script, for example: $. To check it out, use the following command: While installing via pkgsrc is the preferred method, you may want to track github version to help improving pkgin's quality. Pkgin is available via github, pkgsrc-wip and is present in pkgsrc as pkgtools/pkgin. Since NetBSD 6.0, all of those are provided as part of the base system, except for libnbcompat. pkgtools/libnbcompat (yes, even for NetBSD).If you wish to build pkgin from sources, the following dependencies must be met It uses sqlite3 as a package database backend, in order to provide good speed on older architectures.

This is the purpose of pkgin, to provide the user a convenient way to handle binary packages, using the same working mechanisms than tools like apt-get.Īs pkgin git code may change quite deeply, please do not forget to look at the CHANGES file if you chose to track development version.

NetBSD, and more widely, all operating systems relying on pkgsrc have tools like pkg_add and pkg_delete, but those are unable to correctly handle binary upgrades, and sometimes even installation itself. Many so-called GNU/Linux distributions provide a convenient way of searching, installing and upgrading software by using binary archives found on "repositories".
#Man installpkg upgrade#
It relies on pkg_summary(5) for installation, removal and upgrade of packages and associated dependencies, using a remote repository.

Pkgin is aimed at being an apt / yum like tool for managing pkgsrc binary packages. Pkgin, a binary package manager for pkgsrc
