Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.61 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.61 KB

Pug

License Tools (Gist) Vote for pug

"Pug is a ALPM-hook to automatically save installed Pacman & AUR package lists into Gist files."

Inspired by plist-gist and pacmanity.

Perks

  • Painless: Backup and easily restore package lists
  • Elegant: Same text coloration than pacman
  • Smart: Gist revision after each command if change

Gist revisions

Requirements

  • pacman - A library-based package manager with dependency support
  • gist - Potentially the best command line gister

Installation

The install process will ask your Github login to create Gist files and generate an OAuth2 access token.
pug uses that token to update your Gists as needed.

Package (AUR)

$ pacaur -S pug

Manually

$ git clone https://github.com/Ventto/pug.git
$ cd pug
$ sudo make install (default: INSTALLGIST=1, gists creation)
# Or Uninstall
$ sudo make uninstall

Restore

Quickly install the package lists from Gists.

  • Install Pacman package list:
$ wget -O pacman-list.pkg [URL]
$ pacman -S - < pacman-list.pkg
  • Install AUR packag list:
$ wget -O aur-list.pkg [URL]
$ xargs <aur-list.pkg pacaur -S --noedit