Using Packages on OpenBSD

This is an old revision of the document!


Using Packages on OpenBSD

Updating all packages:

$ doas pkg_add -u

Searching packages:

$ pkg_info -Q PKGNAME

Installing packages:

$ doas pkg_add vim

Hint: If there are multiple packages you can select one by number!

Show all installed packages:

$ pkg_info

Package count:

$ pkg_info | wc -l

Deleting a package:

$ doas pkg_delete PKGNAME

Further reading:

Man pkg_add

tutorials/openbsd/using_packages_on_openbsd.1699471556.txt.gz · Last modified: 2023/11/08 19:25 by jhx