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