Pkgng and pc-metapkgmanager/9.2

From PC-BSD Wiki
Revision as of 12:08, 19 April 2013 by Drulavigne (Talk | contribs)

Jump to: navigation, search

(Sorry for the inconvenience)

Beginning in February, 2013, PC-BSD® switched from the traditional FreeBSD ports system to pkgng, the next generation package management system for FreeBSD.

All of the PC-BSD® utilities that deal with installing or updating software now use the pkgng system. This allows users to safely install non-PBI software from the command line without that software being deleted by a system upgrade.

Since FreeBSD does not have an official pkgng repository yet, the PC-BSD® project provides its own repository containing all of the packages that can be built using pkgng.

PC-BSD® provides a custom command, pc-pkg which is a small wrapper to pkg in order to improve its functionality. When pc-pkg is used with the install or upgrade flags, it will automatically connect to the use PC-BSD® pkgng repository using the integrated aria2 downloader utility, which can significantly reduce download speeds over a slow link.

If you are used to using the traditional FreeBSD package system, you will notice that the commands to install and manage software differ slightly. For example, instead of using pkg_add to install a package, the command is now pkg install or pc-pkg install (notice there is now a space instead of an underscore).


References