September 22, 2009

Ubuntu : Updating and Installing Softwares

Posted in Ubuntu tagged at 2:58 pm by subodhrohilla

Well ,After configuring network and local repos ,the next major thing is to know how to add/remove software

Installing Softwares :

The quickest and most user friendly to install/remove is using Add/Remove Software.

To use it :

1)Go to Application>Add Remove Software

2)In the upper drop-down menu select “All available applications” ( You can select others but previous one contains all and most of users don’t bother bother about much details of software maintenanace)

3)If you know to which category the particular software belong then select it from left side-bar but if you don’t know then simply select “all”

4)In the search box type the name of the software you want to install/remove

5)If you want to install then select the check box in front of it and to remove uncheck it

6) Click on Apply Changes .

7) Then , software install/remove will begin and at the last you will be given notification about changes whether they were successful or not.

8) Remember , you can do muliple install/remove at a single time by selecting many softwares at a single time.

Command-Line Way :-

Some users like command-line becuse it is generally FASTER than GUI .

If you the software name then for doing it more quickly use : –

1) Open terminal

2) For  installing type  :- sudo apt-get install software_name

3)For removing :- sudo apt-get remove software_name

4) For multiple install/remove you can always type :- sudo apt-get install software1 software2 software3 ….. ( Providing space between two software names )

But what if you don’t exactly know the software name 😦 and you want to install it. Then ,to find it use following procedure :-

GUI Way :-

1) Click System>Administration>Synaptic manager

2) In the search box type the software name and then click on the relevent package name which is similar to the name you know

I discourage the use of  Synaptic manager as the first preference as the update manager because you may get broken dependencies problems ( i.e. some installed or half-installed packages depend on some packages which you haven’t installed.

But it comes handy if you  want to install a particular library rather than full software.

CLI way :-

1) For searching : – sudo aptitude search software_name  ( Aptitude is command-line utility having same purpose as that of Synaptic)

2)To install :- sudo aptitude install relevent_packages_name

Now, i want to discuss about the package system ( which is debian). The dpkg is at the top of hierarchy and it is the command which is actually used to install/remove software in the background and all other commands ( apt-get,aptitude) and softwares ( Add/Remove Softwares , Synaptic Manager) are graphical utilities to easily do the operations.  🙂

Updating :

Although the graphical update manager ( System > Administration > Update Manager )  in ubuntu is quite good for updating but it becomes very irritating sometimes because it pops up after every one or two hours whether updates are available or not.

For that i am suggesting command line  method :-

Open your terminal and paste following commands :

1) sudo apt-get update ( For updating package lists )

2)sudo apt-get upgrade ( For downloading and installing updates)

And to get rid of irritating update manager type :- sudo apt-get remove update-manager

IGNORE THE GPG-KEY WARNING ( It is because bit server doesn’t have official key from ubuntu which is not necessary)

For the Beginners it is OK to use GUI but i strongly suggest to subsequently adapt to CLI for two reasons :-

1) It is not that GEEKISH as you think ( Because most users fear the darkness of terminal )

2)Your options are inceased you can use remote login by just enabling telnet which doesn’t demand any softwares to be installed from client side

3) Faster the gui ( You can feel the diffeence while updating ubuntu by two diffrent methods)

But the choice is still yours  🙂 ( Freedom of customizing free software )

If just want desktop use then CLI is not that damn necessary but if want to play with nuts and bolts of linux ( Which you should because you are tech guys ) then CLI is then best choice to go deeper in to the linux.


Leave a Reply

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

You are commenting using your 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: