One Day One Cmd

Place for playing with commands…

Day 62: $ apt-cache search

ODOC: apt-cache  search <related package name> Search for software packages to Debian based package management system. It will list out related words to your search.

For Ex:
bala@bala-desktop:~$ apt-cache search gammu
gammu - mobile phone management utility
gammu-smsd - SMS message daemon
geoclue-gsmloc - Position server for GeoClue (GSM)
gmobilemedia - GTK+ application used to browse a mobile phone filesystem
libgammu-dbg - mobile phone management library (debugger symbols)
libgammu-dev - mobile phone management library (development files)
libgammu7 - mobile phone management library
libgsmsd7 - SMS daemon helper library
python-gammu - Python module to communicate with mobile phones
python-gammu-dbg - Python module to communicate with mobile phones (debug version)
python-gammu-doc - Documentation for Python module to communicate with mobile phones
wammu - GTK application to control your mobile phone
libgammu-i18n - mobile phone management library (i18n files)

See this is very useful to find the perfect name of package.

Advertisements

2 responses to “Day 62: $ apt-cache search

  1. ne0 April 22, 2011 at 4:25 pm

    I always use:
    $ aptitude seach
    in Ubuntu but the output not the same with “apt-cache search”.
    Can you tell me what’s difference?

  2. gnubala April 25, 2011 at 2:03 am

    Hi,

    AFAIK, The most obvious difference is that aptitude provides a terminal menu interface (much like Synaptic in a terminal), whereas apt-get does not.

    * aptitude actually performs the functions of not just apt-get, but also some of its companion tools, such as apt-cache and apt-mark.
    * aptitude has a slightly different query syntax for searching (compared to apt-cache)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: