Lets apt-get some packages !

So you have successfully installed Ubuntu. If you have installed it from CD, it may not include all packages that you need. apt-get will do that !

What is apt-get ?

apt-get is known as Advanced Packaging Tool.

apt-get is the command-line tool for handling packages.

for example, If you want to install xmms music player, just enter this command in your terminal.

sudo apt-get install xmms

It will download the xmms package and it wil install automatically. Then, You will find it at Applications > Sound & Video > xmms . isn’t that easy ? ;)

Add Extra Repositories …

Before apt-getting some packages you need to add sources (from where you want to download the packages). Don’t worry i’ll tell you that in just a moment.

sources are stored in /etc/apt/sources.list file.

Just backup it by entering this command…

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

download my sources.list file. [download]

download it & keep it in your home directory…

now enter this command,

sudo cp ~/sources.list /etc/apt/sources.list


sudo apt-get update

Now, you are ready to apt-get :)

(You can use this command to keep your system up-to-date :

sudo apt-get dist-upgrade )

apt-get install

First thing first we need mp3 player. is it ?

Yeah ! xmms is similar to Winamp , it can play mp3 songs.

wanna install xmms

sudo apt-get install xmms

mplayer is Universal media player, plays anything… then just do…

sudo apt-get install mplayer

xchat – IRC client

sudo apt-get install xchat


You can uninstall using the fallowing command,

sudo apt-get remove xmms

Search for packages…

You can also search for a particular package to check if it is available or not. For example, if you want to search for dvd rip software ….

apt-cache search dvp rip

another example,

apt-cache search audio video player

This will give you list available packages depending on your search keywords. You can use apt-get install xxxx to install them.

Don’t like commands ?

someone enjoy using commands in terminal and someone use Graphical Interface (mouse thingy) to have work done. I use commands tho…

There is another way to install packages, the graphical way… using synaptic package manager you can do it. It will be a childs play if you are using synaptic. Here is a screenshot of synaptic package manager….

NTFS read/write support …

For NTFS read/write support fallow this thread http://www.ubuntuforums.org/showthread.php?t=217009

Getting Help …

The best thing about Ubuntu is, it has got a enormous support for its users. There is a good documentation available at https://help.ubuntu.com/community/ , Ubuntu IRC channels #ubuntu , #ubuntu-classroom , #ubuntu-ap (Local AP channel) for instant help & live chat, and You can use Ubuntu forums http://ubuntuforums.org/ to post your questions.

Feel free to post your comments at –  post comment

This entry was posted in ubuntu. Bookmark the permalink.

9 Responses to Lets apt-get some packages !

  1. ch4n5 says:

    Hi dude, nice work. I hav a typical problem now. I hav installed Ubuntu LTS. Now as I am using Sify Broad Band Connection I need to have their client program to connect to the internet. But this client program is either available as a java class or .exe file. Now my Ubuntu lacks gcc either to run this Class file or install wine. So help me out.

  2. Abhinay says:

    reply to ch4n5 > You have a solution, there is a small trick to get internet in Ubuntu Linux. All you have to do is, login into sify broadband using sify client in windows itself, and restart your computer without logout from the sify. then boot into ubuntu (assumed , network settings configured ). Then, you will get net. It should work ;)

  3. ch4n5 , IM me using GTalk for more help, or send an email. I have written how to use sify with linux here http://www.ubuntu-in.org/wiki/Broadband_Howto#Sify . There is a linux client also. Abhinay, what you said also works but only for sometime if heartbeat is enabled. Heartbeat is almost always enabled.

  4. ch4n5 says:

    Abhinay. The trick you said is working. Thanks LOL. But I want to ask u wats the difference between apt-get update and apt-get upgrade. Where are these packages cached.

    Now if i hav installed a package where does it go? Like where can i run it when I need it? How can i bring into my Applications menu like you get ur installed program in program files of Windows.

  5. Abhinay says:

    The ‘apt-get update’ will fetch and cache the available package list from the locations specified in /etc/apt/sources.list. It will just fetch the information about all packages. Whereas, ‘apt-get dist-upgrade’ or ‘apt-get upgrade’ will upgrade your system. Means, It will install newest versions of all packages installed in your system. dist-upgrade is a smart upgrade.

  6. Abhinay says:

    If you correctly installed the Software that you want, it will be automatically added in the Menu. If not you can always added it manually using “Alacarte Menu Editor”.
    and in addition, you can use whereis command to find out the location of the application or file.
    like, whereis firefox will give :
    firefox: /usr/bin/firefox /etc/firefox /usr/lib/firefox /usr/bin/X11/firefox /usr/share/firefox /usr/share/man/man1/firefox.1.gz

    And the installation directory depends on the software.

  7. FredderiK says:

    how many links, here is my one))

  8. very good blog, very interesting article, very information requiring.

  9. craft makers says:

    Fabulous post! Outstandingawareness on the subject. Without a doubt a fresh bookmark.

Comments are closed.