Linux Ubuntu: Get ordered list of all installed packages

$ comm -13 \ <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort) \ <(comm -23 \ <(dpkg-query -W -f='${Package}\n' | sed 1d | sort) \ <(apt-mark showauto | sort) \ )
In Ubuntu, with this command you can list all packages installed. If you write something like: " > user-installed-packages.txt" at the end of command the output can be saved in text file.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.