how to get the list of all the packages installed with apt ubuntu code example
Example 1: how to find installed packages in ubuntu
apt list --installed
Example 2: how to check installed apps in ubuntu
apt list --installed | grep program_name
Example 3: ubuntu list latest installed packages
apt list --installed | grep [name]
Example 4: list apt installed programs
# Use aptitude to get packages which were expressly installed (not just as dependecies)
aptitude search '~i!~M'