Home Apache PHP Ubuntu MySQL Linux HTML Win CSS Perl Javascript Rants Retro
 
Print This Page
Date Posted: Thursday 04th of February 2010 | Category: Ubuntu
How do I Install a new package using the terminal in Ubuntu?
To install new packages in Ubuntu enter the following commands in the terminal:-

sudo apt-get update

sudo apt-get install {package_name}

To remove a package in Ubuntu enter the following command in the terminal:-

sudo apt-get remove {package_name}

To search for packages, enter the following in the terminal:

apt-cache search {package_name}

Other ways to install new packages is to use the Synaptic Package Manager in Ubuntu.

Synaptic is a graphical package management program for apt. It provides the same features as the apt-get command line utility with a GUI front-end, to make things easier for new users.

The Synaptic Package Manger can be found in System >> Administration >> Synaptic Package Manager