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
- Host: GitHub
- URL: https://github.com/qbit/pkg
- Owner: qbit
- License: other
- Created: 2022-04-07T22:21:01.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-25T22:17:43.000Z (over 2 years ago)
- Last Synced: 2025-03-27T20:41:13.059Z (about 1 month ago)
- Topics: openbsd
- Language: Perl
- Homepage:
- Size: 28.3 KB
- Stars: 24
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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