Skip to content

Instantly share code, notes, and snippets.

@dnaeon
Created August 24, 2011 12:57
Show Gist options
  • Save dnaeon/1167997 to your computer and use it in GitHub Desktop.
Save dnaeon/1167997 to your computer and use it in GitHub Desktop.
somepatch
tsunami# pkg
usage: pkg [-d] [-j <jail name or id>|-c <chroot path>] <command> [<args>]
Global options supported:
-d Increment debug level
-j Execute pkg(1) inside a jail(8)
-c Execute pkg(1) inside a chroot(8)
Commands supported:
add Registers a package and installs it on the system
autoremove Removes orphan packages
backup Backup and restore the local package database
clean Cleans old packages from the cache
create Creates software package distributions
delete Deletes packages from the database and the system
help Displays help information
info Displays information for installed packages
install Installs packages from remote package repositories
query Query information for installed packages
search Performs a search in remote package repositories
register Registers a package into the local package database
repo Creates a package database repository
update Updates remote package repository databases
updating Displays UPDATING information for a package
upgrade Performs upgrades of package software distributions
version Summarize installed versions of packages
which Displays which package installed a specific file
For more information on the different commands see 'pkg help <command>'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment