Custom Search

Install a package with the Terminal on Ubuntu

With a simple command line typed in a terminal, you can install a package (software, library or else) from the Ubuntu repositories.

However with this trick, you have to know the exact word of the package you want to install. If you are uncertain, see install a package with synaptic.

Ubuntu 11.04 and later

  1. Click on the Ubuntu menu in the top left corner.
  2. Type the word terminal and click on Terminal.
  3. Type sudo apt-get install name-of-your-package and press Enter.
  4. Type your administrator password and press Enter key. If you are asked to confirm the installation of additionnal packages, you can answer with Y key (yes) or N key (no) followed by the Enter key.

    

Ubuntu 10.04, Ubuntu 10.10

  1. Click on the Applications / Accessories / Terminal menu in the top left corner.
  2. Type sudo apt-get install name-of-your-package and press Enter.
  3. Type your administrator password and press Enter key. If you are asked to confirm the installation of additionnal packages, you can answer with Y key (yes) or N key (no) followed by the Enter key.