How to Add New Sources to Your Sources List in Linux

Hello,

You have probably found yourself in the need of adding a new source to the sources list, either to get a specific package or just for new updates. Well, no matter why you want to do it, I will show you how to.

Difficulty level: Easy

1. Open a terminal or konsole

2. Open /etc/apt/sources.list with your favorite text editor, as super user. In my case I will simply use gedit. To open it, we will execute the following:

gksudo gedit /etc/apt/sources.list

3. If we, for example, want to add a debian repository: deb http://au.archive.ubuntu.com/ubuntu/ natty main, we would simply add it at the bottom of the list.

4. Save and close.

That’s it! You can now test your new source with apt-get update, yum update, etc.

If you have any problem, let me know and I’d be more than glad to assist you.

Best Regards,

Richi

Owner of Juapo2Services.com

Looking for quality Linux Web Hosting? Try out Arvixe web hosting and you won’t be disappointed.

Tags: , , , , , , , , , , | Posted under Linux Server Admin, Linux Usability | RSS 2.0

Author Spotlight

Richi González

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I became a Liaison between Arvixe and Clip-Bucket, so I am here to assist you with anything you need regarding Clip-Bucket or any particular computer-related subject you need. Best Regards, Richi

Leave a Reply

Your email address will not be published. Required fields are marked *


× 1 = 7

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>