[GNU/Linux] How to manage deb packages in Ubuntu from the command line using apt-cache
BY sandeep.sasikumar
4 years ago
0 comments comment

In Ubuntu, new applications are usually available as deb packages. Although Ubuntu comes packaged with gui package management tools like synaptic, the command line provides a much faster way. Read on to know how to manage deb packages in Ubuntu from the command line using apt-cache.

'apt-cache search' - Used to search for repositories.

If you want to install a package and if you want to search for it i.e. check whether it is a valid package, you can use apt-cache search. For example

 apt-cache 'package-name'

Suppose you want to search for the package skype

 apt-cache search skype  
pidgin-skype - Skype plugin for libpurple messengers
pidgin-skype-dbg - Skype plugin for libpurple messengers (debug symbols)
earcandy - Sound level manager for PulseAudio
skype - Skype 

'apt-cache search' - Used to search package using package description.

That is, if you want to install phpmyadmin, you can search for it in'apt-cache search php'. This will list all the packages relating to php, including phpmyadmin

'apt-cache show 'package-name' : To display the basic information about a package.'

For example : You can try this by going through the command 'apt-cache show skype'

This will list all the details the package skype

You will get something like this

Package: skype
Status: install ok installed
Priority: extra
Section: non-free/net
Installed-Size: 28722
Maintainer: Skype Technologies 
Architecture: i386
Depends: libasound2 (>> 1.0.17), libc6 (>= 2.7-1), libgcc1 (>= 1:4.3), libqt4-dbus (>= 4.4.3), libqt4-network (>= 4.4.3), libqtcore4 (>= 4.4.3), libqtgui4 (>= 4.4.3), libstdc++6 (>= 4.3), libx11-6, libxext6, libxss1, libxv1
 /etc/dbus-1/system.d/skype.conf d09fd2adb2487dbaaeb97c43f6cdc08d
Description: Skype
 Skype is software that enables people around the world to connect via instant message, audio conferencing, and video phone.
 Millions of individuals and businesses use Skype to make free video and voice calls,
 send instant messages and share files with other Skype users.
 Everyday, people also use Skype to make low-cost calls to landlines and mobiles.
 * Make free Skype-to-Skype calls to anyone else, anywhere in the world.
 * Call to landlines and mobiles at great rates.
 * Group chat with up to 200 people or conference call with up to 25 others.
 * Free to download.



on 20th April 2007 / by webmaster
Linux has been growing in leaps and bounds in terms of internationalization. Linux Malayalam Open Source Ubuntu Leave a reply Your email address will not be published. Required fields are marked * Ranjith Antony (not verified) access_time 13 Nov 2019 - 21:59 Everything is fine an dandy. However, to read those websites which doesn't support unicode fonts you have to install padma firefox extension . Those websites include all malayalam newspaper websites including, deepika, manorama, keralakaumudi etc. These websites only support truetype fonts. TrueTypes are glyphs matching a malayalam character but doesn't have a hex code assigned to it. They use ASCII character set but with a different glyph. Just to read malayalam, you only need to perform the first 3 steps in Peringodan's blog, in addition to the hacks thats been explained in this blog post. PS: Its so funny; a tutorial to explain how to install malayalam read and write support is written in malayalam. Thats what called a chicken and egg problem. Cherry (not verified) access_time 13 Nov 2019 - 21:59 I’d like to point out a couple of things: a) Malayalam support is not an Ubuntu thing or a Linux thing… I am running NetBSD -current on my laptop with x.org and I can type malayalam. Learning the key combinations is very easy and intuitive… it just requires attention and commitment. I learnt it in about a week and something. b) Mangleesh support for TeX has been around for a while. The TuX group in Trivandrum and specifically A.J.Alex have worked on very good quality latex support for malayalam. See: sarovar.org Just to set the record. Cheers, Cherry. vimal access_time 13 Nov 2019 - 21:59 Ready to use packages to support malayalam in Ubuntu 7.10 and Debian GNU/Linux Etch is available at http://malaylam.web4all.in . Add new comment

on 05th May 2007 / by webmaster
BSNL is one of the leading broadband providers in India. Hardware Linux Networking Ubuntu Leave a reply Your email address will not be published. Required fields are marked * Abhi (not verified) access_time 13 Nov 2019 - 21:51 Hello, I am trying to connect to my D-link DI-614 wireless router to the my BSNL ADSL broadband modem DB108. My PC is currently connected to the modem via an ethernet link. Instead, I established a two-way connection in the following way: 1) Router - modem via ethernet cable. 2) PC - Router via an ethernet cable. However when I do this, my PC is not able to connect to the internet. I am wondering if anyone can help me out with this. Subhadeep (not verified) access_time 13 Nov 2019 - 21:51 Thankx for this i was in a real problem connecting to the net via broadband on BSNL. Thankx again man u r life saver... Add new comment

on 08th May 2007 / by webmaster
A majority of people still look at Linux as something where you have to type everything in consol Linux Ubuntu Leave a reply Your email address will not be published. Required fields are marked * Manoj Mathai (not verified) access_time 13 Nov 2019 - 22:16 hi, read your comment on slashdot. thats how i got here. i think ubuntu is a gr8 linux distro and all it needs is good support and lots of GUI tools to make it smoooth to install and use. if each linux enthusiast can get atleast 5 ppl to atleast try ubuntu or any other distro, i think it would be of gr8 help. anyways, what role does linux play in your company ? Jayson (not verified) access_time 13 Nov 2019 - 22:16 I stumbled upon your blog and I definitely will give you a ring when I need something for my PC! Anoop John (not verified) access_time 13 Nov 2019 - 22:16 Manoj, We sell PCs and Peripherals. We give linux as the preloaded operating system in all the systems we sell. Ubuntu is our default choice unless the customer requests another distro. We also have a software development division. All the systems used for software development are running either ubuntu or xubuntu. We are also providing free linux assistance to customers. These are some ways we are trying to contribute to the Linux community. Add new comment
Leave a reply
Your email address will not be published. Required fields are marked *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.