Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I keep reading about an extras repository for Ubuntu with new software that comes out independently of the distro release. How do I enable it?

share|improve this question

1 Answer 1

up vote 17 down vote accepted

This repository should be enabled by default and is only available for 10.10 and up.

Ubuntu Desktop

In the Software Center (Applications -> Ubuntu Software Center) navigate to Edit -> Software Sources...

software sources

From there navigate to the Other Software tab and ensure the Independent sources are selected

independent

Press close and allow the sources to reload.

Ubuntu Server

Open the APT Sources list

sudoedit /etc/apt/sources.list

Locate the lines which say

deb

Remove the hash (#) tag from those lines. If the hashes are not present then that source is already enabled. If those lines aren't there at all you will need to add them to the bottom of the file:

deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

Close the editor and run

sudo apt-get update

This will download the package cache from the extra's location.

Reference:

share|improve this answer
    
explained like a pro, for newbies ;) –  theTuxRacer Feb 11 '11 at 5:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.