How Do You Find out What Packages You Can Install That Are Related to a Certain Category when Using Ubuntu Linux?

Problem scenario
You want to find what Java packages are available on the configured repositories of the Linux server you are using. What do you do?

Solution
Run a command like this: apt-cache search java

You can replace "java" with a word of the package you want to install.

If you want to learn more about the package and have its exact name, run this command: apt-cache showpkg java-common

Leave a comment

Your email address will not be published. Required fields are marked *