{"repo":"freebsd/pkg","free":true,"listed":false,"github":"https://github.com/freebsd/pkg","clone":"git clone https://github.com/freebsd/pkg.git","description":"Package management tool for FreeBSD. Help at #pkg on Libera Chat or pkg@FreeBSD.org","language":"C","stars":827,"topics":["freebsd","package-manager","package-management","packages"],"license":null,"category":"dev-tools","readme_excerpt":"pkg - a package manager for FreeBSD ==================================== Sourcehut FreeBSD: Sourcehut Alpine: Sourcehut Debian: Github Actions: Table of Contents: ------------------ libpkg pkg package format Installing packages pkg bootstrap Additional resources libpkg pkg is built on top of libpkg, a new library to interface with the package registration backends. It abstracts package management details such as registration, remote repositories, package creation, updating, etc. pkg package format The pkg package format is a tar archive that may be raw or compressed using one of the following algorithms: gz , bzip2 , zstd , or xz . The default compression algorithm is zstd . The tar archive itself is composed of two types of elements: the special files at the beginning of the archive, starting with a \"+\" the data. Installing packages pkg can install a package archive from the local disk, remote HTTP server or remote SSH server. Pkg bootstrap All supported versions of FreeBSD now contain /usr/sbin/pkg a.k.a pkg(7) . This is a small placeholder that has just the minimum functionality required to install the real pkg(8). To use, simply run any pkg(8) command line. pkg(7) will intercept the command, and if you confirm that is your intention, download the pkg(8) tarball, install pkg(8) from it, bootstrap the local package database and then proceed to run the command you originally requested. More recent versions of pkg(7) understand pkg -N as a test to see if pkg(8) is installed w","default_branch":null,"files":null,"tree":[],"storefront":"/r/freebsd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/freebsd/pkg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}