pkg

The package management tool for FreeBSD.

Essential manual pages:

In FreshPorts:

In GitHub:

Hints

pkg-alias(8) is amongst the valuable pages that are sometimes overlooked.

ports-mgmt/pkg-provides can be plugged in to pkg. An example:

% 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
% 

– for more examples, see pkg-provides(8).

BRs can be 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 (last edited 2023-01-29T14:12:44+0000 by GrahamPerrin)