Posts Tagged ‘Update Manager

18
Apr
10

Adding repositories

This is a very basic guideline for installing repositories. Repository is a place where a particular software is kept or maintained. Ubuntu Software Center has loads of softwares for nearly every imaginable use. However you might still need to install additional ones. For those softwares you need to install/add repositories. Repositories are also installed to stay up to date with the very latest versions of softwares.

There are two ways of adding repositories. The graphic (GUI) way and the terminal (CLI) way. I’ll discuss both here one after the other.

GUI (Graphic user interface aka graphic method):

Go to System > Administration > Software Sources

Click on the Other Software tab and then click Add.

Then simply type or copy paste the repository you want to add and thats it.

CLI (Command line interface aka terminal method):

Open the Terminal (Accessories > Terminal) and then type the following:

sudo gedit /etc/apt/sources.list

A new window will open up and there simple copy paste the repository you want to add. Remember that you need to enter the repository name in a separate line or a new line. Hence press Enter from your keyboard before pasting/adding the repository.

Remember to save the file before you exit.

There’s another CLI method as well, its a more direct approach.

Go to the Terminal and type out the direct command to add the repository:

sudo add-apt-repository ppa:name of repository

eg. sudo add-apt-repository ppa:pcf/miro-releases (installs the official repository for the software Miro)

Tip: Always make sure you update your repositories after adding them. To update your repositories, go to System > Administration > Update Manager and click on Check.

Alternatively, you can go to the Terminal and type sudo apt-get update

Thereafter you can install the software from the Ubuntu Software Center itself or from the Terminal as the case may be (read instructions for that particular software in its documentation or FAQ section).

Thats was all about adding repositories in Ubuntu.

Share/Bookmark

Advertisements



ALERT!!!

ALERT! Explore-Ubuntu has moved.

New location of Explore Ubuntu (includes ALL old and brand new posts):

www.explore-ubuntu.blogspot.com

Technology Blogs - Blog Catalog Blog Directory