How to Add New Sources to Your Sources List in Linux


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 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,


Owner of

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

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'm the Liaison between Arvixe and Clip-Bucket, so anything you need regarding Clip-Bucket or any particular computer-related subject you need, let me know so I can assist you.

Leave a Reply

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