Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 875 Bytes

README.md

File metadata and controls

46 lines (35 loc) · 875 Bytes

pkg-wrapper

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

Supported package managers

  • XBPS (voidlinux)
  • pacman (ArchLinux)
  • dpkg (Debian and derivatives)

Installation

curl -o /usr/local/bin/pkg https://raw.githubusercontent.com/lukrop/pkg-wrapper/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.