Difference between revisions of "Pkgng and pc-metapkgmanager/9.2"

From PC-BSD Wiki
Jump to: navigation, search
Line 5: Line 5:
 
Beginning in February, 2013, PC-BSD® switched from the traditional FreeBSD ports system to [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html pkgng], the next generation package management system for FreeBSD.  
 
Beginning in February, 2013, PC-BSD® switched from the traditional FreeBSD ports system to [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html pkgng], the next generation package management system for FreeBSD.  
  
{{note|icon64 Users of PC-BSD® 9.1-RELEASE will not be affected by this change unless they upgrade or install a [[Using a Rolling Release| rolling release]].}}
+
{{note|icon64= Users of PC-BSD® 9.1-RELEASE will not be affected by this change unless they upgrade or install a [[Using a Rolling Release| rolling release]].}}
  
 
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.
 
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.

Revision as of 13:16, 19 April 2013

(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.

NOTE: Users of PC-BSD® 9.1-RELEASE will not be affected by this change unless they upgrade or install a rolling release.

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