[ILUGC] GNU/Linux commands - apt-cache

  • From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx, kanchilug@xxxxxxxxxxxxx
  • Date: Sat, 10 Sep 2016 20:13:20 +0530

apt-cache:  it is used for searching apt software package cache
$ apt-cache pkgnames

list all the available packages

$ apt-cache search apache2

display a list of matched packages with short description

$ apt-cache pkgnames apache2

To find and list down all the packages starting with apache2

$ apt-cache show samba

 to find a package informations like version number, check sums, size,
 installed size, category

$ apt-cache showpkg apache2

to check the dependencies for particular software packages

$ apt-cache stats

to display Total package names is the number of packages
found in the cache

$ apt-cache policy samba

to show policy settings

$ apt-cache depends apache2

show raw dependency information for a package

$ apt-cache rdepends apache2

shows a listing of each reverse dependency a package has

regards,

T.Dhanasekar


_____________________________________
ILUGC List: //www.freelists.org/list/ilugc
ILUGC Web: http://ilugc.in/

Other related posts:

  • » [ILUGC] GNU/Linux commands - apt-cache - Dhanasekar