

In those cases you can use yum search command to check all the available modules and then install whichever is required. Sometimes it might happen that you don't know the name of PHP module that you want to install through yum repository or you are not aware of all the PHP modules available on yum repository.

AMD Radeon Ubuntu 20.04 Driver Installation.How to install missing ifconfig command on Debian Linux.Ubuntu 20.04 Remote Desktop Access from Windows 10.How to find my IP address on Ubuntu 20.04 Focal Fossa Linux.How to install the NVIDIA drivers on Ubuntu 20.04 Focal Fossa Linux.Using these commands, as well as grep, you should be able to quickly find the packages you need, and even have the commands to script out this functionality in the future if needed. This included using the apt search command and its close cousin apt-cache search. In this guide, we saw how to search for packages in apt package manager. Once you’ve identified the package you want to grab, you can download and install it with the usual apt install command. This will show a list of packages that begin with the text “apache2”. Here’s an example where we search for packages with apache2 in the name. If you’d like to search just the names of packages, you can use the following synax.This is the preferred method if you were trying to script this task. The apt-cache search command is very similar, but will format the output differently.$ apt search package-name | grep specific-name If you get a ton of results, you could always use grep to narrow the search further, or pipe to less or more so your terminal doesn’t get flooded with output.

This will look for any packages related to your search query, not just packages that contain the specific phrase in their name.

