An open API service indexing awesome lists of open source software.

https://github.com/qbit/pkg

pkg* wrapper that adds full text searching
https://github.com/qbit/pkg

openbsd

Last synced: 16 days ago
JSON representation

pkg* wrapper that adds full text searching

Awesome Lists containing this project

README

        

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]](mailto:[email protected])>.
Rewrite by
Aaron Bieber <[[email protected]](mailto:[email protected])>.

OpenBSD 7.1 - April 7, 2022