Question: how to check if a package is installed debian?
Answer: Use dpkg command, which is package manager for Debian. Use file /var/lib/dpkg/available to find out all package names available to you.