How to find available packages from the command line tool in the terminal

This article will show you how to search for available packages in the Ubuntu repository and how to get more details about available versions, dependencies and all other information in Ubuntu. Try all of these commands to see the difference. And if something is missing, please fill in the comment box.

Find packages available on Ubuntu:

List all available packages.

apt-cache pkgnames

Search for a specific package. Here you can replace “PACKAGENAME” with the actual and actual package name.

apt-cache search PACKAGENAME


apt-cache search firefox

Software package name and description:

apt-cache pkgnames firefox

Check the dependencies of a particular package.

apt-cache showpkg firefox

apt search: Search for the package name string specified by the package name and description

apt search PACKAGENAME


To find the Firefox name in all available packages, use the following command:

apt search firefox

Search only for package names.

apt search --names-only firefox

apt show: Get detailed information about a package



apt show firefox

If you like this article, please subscribe to us Youtube channel. You can also stay connected with us twitter And Facebook.

Recommended Recommendation: How to Install Tiled on Ubuntu-Map Editor for Tiles Based Games
It’s a sequel.