MUSINGS

How to search for a package in Debian and Ubuntu

How to search for a package in Debian and Ubuntu

If you need to install a package such as mysql server you generally use the apt-get install <package name> command. The trick is getting the package name right. To find the package name, perform a search using the apt-cache command. The syntax is as follows:

apt-cache search mysql

This will return a list of packages which reference mysql. You’ll notice this is a very long list because it’ll include packages which include applications which use mysql databases. To narrow down your search you can use the following command: Read more about How to search for a package in Debian and Ubuntu