Keeps a list of installed packages in a Gist at your GitHub account.
1. Download and install:
- From AUR using an AUR helper:
$ <aur_helper> -S pacmanity
Some popular AUR helpers are yaourt
, trizen
and yay
.
- From AUR using
makepkg
:
$ wget https://github.com/derektbrown/pacmanity/tarball/master -O - | tar xz
$ cd DerekTBrown-pacmanity-*/
$ makepkg -si
2. Setup:
During the installation of the package you will be prompted to log in to your GitHub account.
Once installed, Pacmanity automatically maintains a list of your installed packages in a private Gist at your GitHub account.
The list gets updated every time you install, update or remove packages, keeping track of the current explicitly installed packages from both Arch official repos and AUR. They are listed in the Gist in that particular order (official, then AUR), separated by a blank line.
No hassle: just install Pacmanity, follow the prompts and you are done. A pacman hook will be installed and conveniently run when needed to.
By cloning the Gist file to your fresh Arch installation you can easily bulk-install them:
$ git clone [email protected]:<gist_repo>.git
$ cd <gist_repo>
- Using
pacman
to install only official packages:
$ sed -e '/^$/q' $(hostname).pacmanity | sudo pacman -S -
- Using an AUR helper to install all packages:
$ <aur_helper> -S $(tr '\n' ' ' < $(hostname).pacmanity)
- Using an AUR helper to install only AUR packages:
$ <aur_helper> -S $(sed -e '/^$/d' $(hostname).pacmanity | tr '\n' ' ')
Navigate to your Gist in GitHub and you will find: