Last active
August 29, 2015 14:14
-
-
Save mjhb/3ccdd803ce52c770d623 to your computer and use it in GitHub Desktop.
List Explicitly Installed Packages for Ubuntu-based systems (might work on Debian)
This file contains 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
# set to appropriate manifest for your distribution and version | |
MANIFEST=http://cdimage.ubuntu.com/lubuntu/releases/14.10/release/lubuntu-14.10-desktop-amd64.manifest | |
aptitude search '~i !~M' -F '%p' --disable-columns | sort -u > currentlyinstalled.txt | |
wget -qO - $MANIFEST | cut -f1 | sort -u > defaultinstalled.txt | |
comm -23 currentlyinstalled.txt defaultinstalled.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment