Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pkg ====== The package management tool for %%FreeBSD%%. 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. 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.txt Last modified: 2023/01/29 14:12by GrahamPerrin