dot/packages
Shaun Reed d033ada721 Refactoring, fix conky issue with AUR conky-git 2019-11-12 17:05:32 -05:00
..
pacman Refactoring, fix conky issue with AUR conky-git 2019-11-12 17:05:32 -05:00
snap Refactoring, fix conky issue with AUR conky-git 2019-11-12 17:05:32 -05:00
README.md Add package lists, not to be stowed (yet) but for future reference 2019-10-18 18:59:47 -04:00
notes Add package lists, not to be stowed (yet) but for future reference 2019-10-18 18:59:47 -04:00
update-packs.sh Add (and run) script for updating packages 2019-10-25 17:41:51 -04:00

README.md

Packages

This directory houses lists of packages and NOT configurations managed by stow. You can stow these files, but note that you will have to manually use these lists to reinstall packages used by the configurations within this repository. These files are for reference only, and can be updated using the commands below, taken from The Arch Wiki and some other resources.

This repository uses pacman to manage packages, see the commands below for examples on how these lists were generated and how you can replace manually with your own if needed.

# List all of the installed packages
pacman -Qqe > pkglist.txt
# With option -t, the packages already required by other explicitly installed packages are not mentioned. If reinstalling from this list they will be installed but as dependencies only.
pacman -Qqet > pkglist.txt
# With option -n, foreign packages (e.g. from AUR) would be omitted from the list.
pacman -Qqen > pkglist.txt

So I use the below commands to create backaups for pacman -

# Store installed packages, excluding foreign
pacman -Qqen > pkglist.txt
# Use -Qqem to create the list of AUR and other foreign packages that have been explicitly installed.
sudo pacman -Qqem > foreignpkglist.txt

See also the Hooks Arch Wiki to automate this