/xbps-pkg

A simple wrapper for XBPS inspired by FreeBSD's pkg(8).

Primary LanguageShellMIT LicenseMIT

xbps-pkg

This is a small wrapper for XBPS with tab-completion. It provides a simple interface inspired by FreeBSD's pkg(8).

Installation

curl -o /usr/local/bin/pkg https://raw.githubusercontent.com/lukrop/xbps-pkg/master/pkg
chmod +x /usr/local/bin/pkg

Example usage

Install package somepackage

pkg install somepackage

Remove somepackage

pkg remove anotherpkg

Upgrade all packages

pkg upgrade

Find package to which /some/file belongs

pkg which /some/file

Hold somepackage at current version

pkg hold somepackage

See pkg help for more.

Alternatives

  • xb: simple wrapper with apk-like interface.
  • vpm: another advanced, powerful wrapper with colors!
  • octoxbps: Qt5 GUI for XBPS.