check for packages ubuntu code example
Example 1: how to find installed packages in ubuntu
apt list --installed
Example 2: ubuntu list latest installed packages
apt list --installed | grep [name]
apt list --installed
apt list --installed | grep [name]