Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

Ubuntu

1,574 bytes added, 19:40, 2 April 2011
Use Local Mirrors: Added Software Sources method
=Use Local Mirrors=
Virginia Tech has several [[Mirrors|local mirrors]] of Linux and other [[Free Software|Free and Open Source Software]]. Using Virginia Tech's mirrors has the main advantage of being fast.
 
==Using Software Sources==
 
# Open Ubuntu Software Center (Applications → Ubuntu Software Center).
# Click the Edit menu and choose Software Sources. This requires root privileges so you will need to enter your password.
# Uncheck everything in the "Downloadable from the Internet" section.
# Click on the Other Software tab and click the Add button.
# Paste the following line into the text box than click Add Source:
#:<code>deb <nowiki>http://mirror.cc.vt.edu/pub/ubuntu/</nowiki> maverick main restricted universe multiverse</code>
#:* Note that this assumes you are running 10.10, use the Campus Computing mirror, and want all the repositories. Replace <code>maverick</code> with the codename for your Ubuntu version (9.10 is karmic, 10.04 is lucid, 10.10 is maverick, 11.04 is natty) If you want the VBI mirror instead, replace <code><nowiki>http://mirror.cc.vt.edu/pub/ubuntu/</nowiki></code> with <code><nowiki>http://mirrors.vbi.vt.edu/mirrors/linux/ubuntu/</nowiki></code>.
# Click Add again and repeat the process with the following lines, entering each one individually:
#:<code>deb <nowiki>http://mirror.cc.vt.edu/pub/ubuntu/</nowiki> maverick-updates main restricted universe multiverse</code>
#:<code>deb <nowiki>http://mirror.cc.vt.edu/pub/ubuntu/</nowiki> maverick-security main restricted universe multiverse</code>
# Click Close. Ubuntu Software Center will now update the package sources. You can close the Software Center after this finishes (the cycling arrows in the left corner of the window will disappear when it's done.)
 
==Manually==
You will need to alter your <code>/etc/apt/sources.list</code> file. First of all, make a backup of your original. Open a terminal emulator (Applications &#8594; Accessories &#8594; Terminal) and enter the command:
Anonymous user