How to check if a package is installed To check if a package is installed on your Ubuntu server, you can use the dpkg command. dpkg -l | grep <package name> Resources and References Ask Ubuntu: How do I check if a package is installed on my server?