Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pkg [2020/12/28 12:45] – Refer people to the right page. RonaldKloppkg [2023/01/29 14:12] (current) – &manpath=freebsd-ports GrahamPerrin
Line 1: Line 1:
-====== PKG ======+====== pkg ======
  
-Pkg is the Next Generation package management tool for %%FreeBSD%%. It is the replacement for the current +The package management tool for %%FreeBSD%%.
-pkg_info/pkg_create/pkg_add tools that ports use to register local packages and which provide remote +
-packages. Its main goals are to facilitate remote binary package upgrades. It also works with ports +
-without remote binary packages.+
  
-:!: The content of this page was outdated and misleading so it has been deleted+Essential manual pages: 
 +  * [[https://man.freebsd.org/cgi/man.cgi?query=pkg&sektion=7&manpath=freebsd-release|pkg(7)]] – integral to %%FreeBSD%%, primarily for bootstrapping 
 +  * [[https://man.freebsd.org/cgi/man.cgi?query=pkg&sektion=8&manpath=freebsd-ports|pkg(8)]] – best known, with features available as a result of bootstrapping.
  
-Up to date information can be found on the [[https://github.com/freebsd/pkg|GitHub page]].+In %%FreshPorts%%: 
 +  * https://www.freshports.org/ports-mgmt/pkg/ 
 + 
 +In %%GitHub%%: 
 +  * https://github.com/freebsd/pkg 
 +  * issues and pull requests (PRs) that are complementary to bug reports (BRs also known as PRs) in Bugzilla. 
 + 
 +===== Hints ===== 
 + 
 +[[https://man.freebsd.org/cgi/man.cgi?query=pkg-alias&sektion=8&manpath=freebsd-ports|pkg-alias(8)]] is amongst the valuable pages that are sometimes overlooked. 
 + 
 +[[https://www.freshports.org/ports-mgmt/pkg-provides/|ports-mgmt/pkg-provides]] can be plugged in to ''%%pkg%%''. An example: 
 + 
 +<code> 
 +% pkg provides bin/mkntfs$ 
 +Name    : fusefs-ntfs-2017.3.23 
 +Desc    : Mount NTFS partitions (read/write) and disk images 
 +Repo    : FreeBSD 
 +Filename: usr/local/sbin/mkntfs 
 +%  
 +</code> 
 + 
 +– for more examples, see [[https://man.freebsd.org/cgi/man.cgi?query=pkg-provides&sektion=8&manpath=freebsd-ports|pkg-provides(8)]]. 
 + 
 +BRs can be [[https://bugs.freebsd.org/bugzilla/buglist.cgi?component=Individual%20Port%28s%29&list_id=28394&product=Ports%20%26%20Packages&query_format=advanced&resolution=---&short_desc=ports-mgmt%2Fpkg&short_desc_type=allwordssubstr|found]] and created through %%FreshPorts%%. 
 + 
 +===== History ===== 
 + 
 +''%%pkg_info%%'', ''%%pkg_create%%'' and ''%%pkg_add%%'' were used for registration of local packages and provision of remote packages. 
 + 
 +''%%pkgng%%'' provided a new generation (//ng//) of commands. 
 + 
 +''%%pkgng%%'' became known as ''%%pkg%%''.
  
  • pkg.1609159544.txt.gz
  • Last modified: 2020/12/28 12:45
  • by RonaldKlop