linux see installed packages code example
Example 1: how to check installed apps in ubuntu
apt list --installed
Example 2: how to check installed apps in ubuntu
apt list --installed | grep program_name
Example 3: how to check installed packages in linux command
dpkg-query --list | grep -i nano
ii nano 2.9.3-2 amd64 small, friendly text editor inspired by Pico