Skip to content

qbit/pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PKG(8) - System Manager's Manual

NAME

pkg - a wraper for OpenBSD's pkg* tools

SYNOPSIS

pkg [delete package] [info package] [install package] [pkginfo package] [regen] [search string]

DESCRIPTION

pkg is a perl(1) script that allows easier package management and more extensive searching.

pkg uses sqlports(5) for quicker, full text searching of COMMENT and DESCR fields.

The options are as follows:

delete package

Deletes package. This is a wrapper for pkg_delete(1). It is also aliased to del, and rm.

info package

Fetches package information. This is a wrapper for pkg_info(1) It is aliased to inf.

install package

A wrapper for pkg_add(1). Aliased to i.

pkginfo FULLPKGNAME

Intended for use with tools like fzf(1). This lets one quickly look up COMMENT and DESCRIPTION for a given FULLPKGNAME. Aliased to pi.

regen

Regenerate the full text index. Aliased to re.

search string

Search a packages COMMENT and DESCR for an arbitrary string. Returns FULLPKGNAME.

HISTORY

pkg was written in 2001, removed from base in 2012, revived and enhanced in 2018 and 2022.

AUTHORS

pkg was originally written by Marc Espie <[email protected]>. Rewrite by Aaron Bieber <[email protected]>.

OpenBSD 7.1 - April 7, 2022