FreeBSD pkg Package Manager

pkg = pkgng

Using pkg for Binary Package Management

Manage Packages

How To Manage Packages on FreeBSD 10.1 with Pkg

Ports vs. Binary Packages

How to update a mix of packages and ports on FreeBSD
Exclude packages from pkg upgrade

$ pkg lock <package>


Building Packages with Poudriere
How To Set Up a Poudriere Build System to Create Packages for your FreeBSD Servers

Clean the Database

pkg clean                    # cleans /var/cache/pkg/
rm -rf /var/cache/pkg/*      # just remove it all
pkg update -f                # forces update  of repository catalog
rm /var/db/pkg/repo-*.sqlite # removes all remote repository catalogs
pkg bootstrap -f             # forces reinstall of pkg

One thought on “FreeBSD pkg Package Manager

Leave a Reply

Your email address will not be published. Required fields are marked *