This probably changes with different distro – I used Ubuntu, so check for package specifics if it doesn’t work.
To check for installed software that has been installed using apt-get or similar command use this
user@computer:$ dpkg -l | grep packagename