Table of Content
You can download the stable script and make it executable. On non-Arch-based system, you may use pacman as script name instead of pacapt.
$ sudo wget -O /usr/local/bin/pacapt https://github.com/icy/pacapt/raw/ng/pacapt
$ sudo chmod 755 /usr/local/bin/pacapt
$ sudo ln -sv /usr/local/bin/pacapt /usr/local/bin/pacman || true
For system package manager:
- Update package database:
pacapt -Sy
, orpacapt update
- Install a package:
pacapt -S foo
, orpacapt install foo
- Search a package:
pacapt -Ss foo
, orpacapt search foo
- Remove a package:
pacapt -R foo
, orpacapt remove foo
- Upgrade system:
pacapt -Su
, orpacapt upgrade
- Remove orphans:
pacapt -Sc
, orpacapt autoremove foo
- Clean up:
pacapt -Scc
orpacapt -Sccc
, orpacapt clean