Apr 17, 2018 · apt-cache. Of the various interfaces available to search for packages, apt-cache is the most basic and rudimentary of them all. However, it is also the interface we tend to use most often because it is fast, easy, and efficient. By default, apt-cache searches for a given term in package names as well as their descriptions.

If you wish to search a specific string only in package names, you can do: apt-cache search --names-only 'xxx' This will return anything that contains 'xxx' in their package name. You can also use regular expressions: apt-cache search --names-only 'php5$' This will return any package with their name ending in php5. May 03, 2016 · You also don’t need to type sudo apt-cache search to find a package. Instead, these commands have been replaced with apt search and apt remove . This is mostly the main difference Apt has: taking commands from Apt-get, etc., that are spread out and bring them together into one concise area. The apt-cache command line tool is used for searching apt software package cache. In simple words, this tool is used to search software packages, collects information of packages and also used to search for what available packages are ready for installation on Debian or Ubuntu based systems.

apt-get autoremove apt-get clean Search Package with Apt-Cache. The command apt-cache is used to search for software packages. To find the package by its description, run the following command: apt-cache search proftpd. You should see the following output:

III. Search available packages using apt Using apt you can search for available packages from the command line as follows: apt search KEYWORD Replace KEYWORD with the keyword you want to search for (you can add multiple keywords in quotes). Here is an example search for "openssh" together with its output: $ apt search openssh Sorting May 04, 2019 · Search the APT repositories for a package with the text opengl in the name or description. Related commands. apt — A unified APT front end for the command line. apt-file — Search for individual files in all available APT packages. apt-get — Command line tool for managing APT software packages. apt-mark — Change or view the settings of Jan 23, 2020 · Apt-get is the command-line utility for dealing with applications and may be considered for the person’s “back-end” to other tools for making use of the APT library.Apt-cache performs a variety of operations on APT’s package.This article explains about -“Basic Commands of APT-GET and APT-CACHE for Package Management”. Apt-get

May 03, 2016 · You also don’t need to type sudo apt-cache search to find a package. Instead, these commands have been replaced with apt search and apt remove . This is mostly the main difference Apt has: taking commands from Apt-get, etc., that are spread out and bring them together into one concise area. The apt-cache command line tool is used for searching apt software package cache. In simple words, this tool is used to search software packages, collects information of packages and also used to search for what available packages are ready for installation on Debian or Ubuntu based systems.