Tuesday, September 1, 2009

Installing Software on Ubuntu - Part 4 (Terminal)

Using terminal command line is the efficient way to install software on Ubuntu. The command line we will use is 'apt-get'. The command-line format of the apt-get command is:
sudo apt-get command

We precede the command with sudo because all software management requires root (administrator) powers. It’s always advisable to get the most up to date list from the software repositories. To do that, type the following command:
sudo apt-get update

To install software we will use the following command (eg: Abiword word processor) :
sudo apt-get install software_name

sudo apt-get install abiword


If any dependencies are required, apt-get lists them and asks whether you want to install them as well.
___________________________________________________________
The apt-get Commands
update
Retrieve package updates for the currently installed packages

upgrade
Install the newest versions available of the currently installed packages

dselect-upgrade
Alter the status field of the specified packages to the specified state

dist-upgrade
Upgrade to the newest Ubuntu distribution

install
Install one or more packages specified on the command line

remove
Remove one or more packages specified on the command line

purge
Remove packages and related files

source
Install source-code files for the packages specified on the command line

build-dep
Install or remove packages to satisfy the dependencies for a specific package

check
Update package cache and check for broken package dependencies

clean
Clear the local cache copies of all installed package files

autoclean
Automatically clear the local cache copies of package files that are no longer supported in the repositories

autoremove
Remove packages that were installed as dependencies and no longer needed

1 comments:

penyamun said...

WOW

Post a Comment