Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

find installed packages in ubuntu

# This returns only the manually installed packages and only the package name (no extra info etc)
comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #find #installed #packages #ubuntu
ADD COMMENT
Topic
Name
2+4 =