dot/packages
Shaun Reed 282dd12615 Update i3-debian packages 2020-01-22 16:41:32 +00:00
..
sources.list.d Initial commit for i3-debian branch 2020-01-19 20:22:05 -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 Update restore of packages 2020-01-21 03:56:53 +00:00
package.list Update i3-debian packages 2020-01-22 16:41:32 +00:00
repo.keys Update i3-debian packages 2020-01-22 16:41:32 +00:00
restore-packs.sh Update i3-debian packages 2020-01-22 16:41:32 +00:00
sources.list Update i3-debian packages 2020-01-22 16:41:32 +00:00
sources.list.save Initial commit for i3-debian branch 2020-01-19 20:22:05 -05:00
sources.list~ Update i3-debian packages 2020-01-22 16:41:32 +00:00
update-packs.sh Initial commit for i3-debian branch 2020-01-19 20:22:05 -05: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