How to Add New Sources to Your Sources List in Linux
Written by Richi González Tuesday, 31 January 2012
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.
Owner of Juapo2Services.com