How to find which package provides a file in Debian based releases, such as Linux Mint, Ubuntu? You can use dpkg:dpkg -S /path/to/the/file Or for a command file such as ps2pdf:dpkg -S `which ps2pdf` Related posts:How to find which package can be installed for a file, like “yum provides”? How to quickly find out which rpm package provides a command on Fedora Linux? How to find whether a package is installed on Linux Mint? Query Installed Files from Package and Package for Installed File in Fedora How to find all available versions of a package in dpkg, apt-get or aptitude? How to list all files from a .deb package? How to install node.js on Ubuntu/Linux Mint? How to configure iptables on Linux Mint 17.1?