Showing posts with label remove. Show all posts
Showing posts with label remove. Show all posts

Saturday, July 19, 2014

How to Update Packages in Ubuntu

The apt-get is an important command which works with Advavced Packaging Tool(APT) for updating package list,upgrading package list,installing new software etc.

The packaging system maintains one database which contains information of which packages are installed,which are not installed and which are available to install.The apt-get uses this database to install the various packages.

Update the list of available packages       :  sudo apt-get update
Install any particular package                  :  sudo apt-get install packagename
Reinstall any particular package              :  sudo apt-get --reinstall install packagename
Remove any particular package              :  sudo apt-get remove packagename

Upgrade the packages                              :  sudo apt-get -u upgrade
Upgrade any particular package              :  sudo apt-get -u install packagename

Search any particular package                 :  sudo apt-cache search packagename