In the past I used CentOS Linux the open source RedHat Enterprise Linux clone but these days I find myself using Ubuntu Linux more and more often because so many more packages that clients want installed are more up to date. One command I used to use on CentOS all the time was the yum whatprovides command which would allow me to search for specific applications, scripts, libraries, etc. to figure out what packages I needed to install. The command that is similar on Ubuntu is apt-file which does not come installed by default. Below I show the output of an example yum whatprovides command on CentOS Linux followed by what needs to be done to use apt-file on Ubuntu Linux.
Recently I wrote an article about how to install clear via Cygwin on Windows however I used the Yellowdog Updater on CentOS Linux to first figure out what package installs clear. Below I describe how to use yum to figure out what Linux package installs a specific application followed by installing clear or verifying the package that provides clear is already installed.