This is a small wrapper for several package managers with tab-completion. It provides a simple interface inspired by FreeBSD's pkg(8).
- XBPS (voidlinux)
- pacman (ArchLinux)
- dpkg (Debian and derivatives)
curl -o /usr/local/bin/pkg https://raw.githubusercontent.com/lukrop/pkg-wrapper/master/pkg
chmod +x /usr/local/bin/pkg
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.