list apt installed code example
Example 1: apt see installed packages
apt list --installed
Example 2: list apt installed programs
# Use aptitude to get packages which were expressly installed (not just as dependecies)
aptitude search '~i!~M'
apt list --installed
# Use aptitude to get packages which were expressly installed (not just as dependecies)
aptitude search '~i!~M'