Last active
August 29, 2015 14:09
-
-
Save benjaminbauer/1d21fe066efad302fa9b to your computer and use it in GitHub Desktop.
Get all files explicitly installed via packman WITHOUT packages in base and base-devel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This will create a list of all packages, that are installed, except the ones that were installed during the initial Arch-Setup. | |
# It can be used to restore an Arch installation or to review installed packages during a little spring cleaning. | |
# Get all packages in base and base-devel | |
pacman -Sqg base base-devel > /tmp/basepackages | |
# Get all installed packages without depenencies | |
pacman -Qqen > /tmp/allpackages | |
# Get all explicitly installed packages without base | |
cat /tmp/{all,base}packages | sort | uniq -u > /tmp/mypackages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment