HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pkg_info — View information about packages in OpenBSD. See also: `pkg_add`, `pkg_delete`. More information: <ht

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandopenbsdcliinformationaboutpkg_infoviewpackages

Problem

How to use the pkg_info command: View information about packages in OpenBSD. See also: pkg_add, pkg_delete. More information: <https://man.openbsd.org/pkg_info>.

Solution

pkg_info — View information about packages in OpenBSD. See also: pkg_add, pkg_delete. More information: <https://man.openbsd.org/pkg_info>.

Search for a package using the package name:
pkg_info -Q {{package}}


Output a list of installed packages for use with pkg_add -l:
pkg_info -mz

Code Snippets

Search for a package using the package name

pkg_info -Q {{package}}

Output a list of installed packages for use with `pkg_add -l`

pkg_info -mz

Context

tldr-pages: openbsd/pkg_info

Revisions (0)

No revisions yet.