list of applications in ubuntu code example
Example 1: how to check installed apps in ubuntu
apt list --installed | grep program_name
Example 2: seeing all the installed apps i terminal
for app in /usr/share/applications/*.desktop; do echo "${app:24:-8}"; done