To check the installed packages on a Debian-based system, you can use the following command in the terminal:
dpkg --get-selections
This will list all installed packages. If you want to filter the output to show only installed packages, you can use:
dpkg --get-selections | grep -v deinstall
Alternatively, you can also use:
apt list --installed
This command will provide a list of all installed packages along with their versions.
