[Ilugc] One Day One Command (APT-CACHE)

  • From: sbharathi@xxxxxxxxxxxxx (Bharathi Subramanian)
  • Date: Thu Jul 28 10:25:41 2005

Mr Muthiah is released the G2 interface to Octave, which is used to 
get the graphs in different formats like PNG, JPEG, PS, EPS, X11...
URL: http://octave-gtk.sf.net/octave-g2/

One Day One Command 
===================

apt-cache -- Debian APT (Advanced Package Tool) package handling
             utility.

Summary:

apt-cache performs a variety of operations on APT's package cache.  
apt-cache does  not  manipulate the state of the system, but does
provide operations to search and generate interesting output from 
the package meta-data (/var/lib/apt/lists).

Examples:

$ apt-cache search xfree86 -- Show package info and descriptions for 
                              the search-string (xfree86).

$ apt-cache policy gcc -- Show version and priorities of the available 
                          Packages.

$ apt-cache show postgresql -- Show detailed description of postgresql
                               package.

$ apt-cache showpkg mozilla -- Show all kind of dependencies for the 
                               Mozilla package.

$ apt-cache depends mozilla -- List the packages needed by Mozilla.

$ apt-cache rdepends kde -- List all packages that needs KDE.

Read: man apt-cache

Debian Mirror in TamilNadu: http://ftp.iitm.ac.in/linux/
Debian Documentation  Link: http://www.debian.org/doc/
Debian CD Image Link : http://people.debian.org/cdimage/testing/

Bye :)
--
Bharathi S
ODOC LJ -- http://www.livejournal.com/community/ilugc/

Other related posts:

  • » [Ilugc] One Day One Command (APT-CACHE) - Bharathi Subramanian