PDA

View Full Version : Editing Sources List


manofsteel
June 13th, 2005, 07:34 AM
Ok, I have no idea on how to add other repositories to my list ](*,) is there any way anyone can show me step by step?

N'Jal
June 13th, 2005, 08:21 AM
1) open the program terminal
2) type "sudo gedit /etc/apt/sources.list
3) Enter your user password

At this point Gedit will open up showing you the apt repository list, lines that begin with the hash (#) sign are commented out lines and ignored by apt. Every line that has a deb in it means its a binary program repository. Every line with deb-src is a source repo these allow you to edit or tweak the programs before they are installed.

Look for a commented out line saying that below are the universe and multiverse repo's and remove the # sign and space so it looks like this

#Universe & Multiverse
deb http://www.etcetcetc
deb-src http://www.etcetcetc

Or the like, save and exit then your done

Xian
June 13th, 2005, 08:26 AM
Read the How-To at the Wiki: Adding Repositories to Apt (http://www.ubuntulinux.org/wiki/AddingRepositoriesHowto)

manofsteel
June 13th, 2005, 09:16 AM
Thank you both very much, been scratching my head over this one, and didnt want to mess the system up, didnt know it was so easy. thanks again.