How to Search For Available Packages from the Command Line in Ubuntu
Topic: Ubuntu / LinuxPrev|Next
Answer: Use the apt-cache
Command
You can use the following command to get a list of all packages from the command line in Ubuntu.
apt-cache search .
However, if you want to search for a specific package you can replace the period sign (.
) with the search keyword, e.g., to get a list of all packages containing the string "python" you can use:
apt-cache search python
Related FAQ
Here are some more FAQ related to this topic: