Q:

How to Search For Available Packages from the Command Line in Ubuntu

0

How to Search For Available Packages from the Command Line in Ubuntu

All Answers

need an explanation for this answer? contact us directly to get an explanation for this 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

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Ubuntu / Linux Frequently Asked Questions

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How to Find and Replace Text Within a File Using C... >>
<< How to Save Terminal Output of a Command to a File...