Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

The Unofficial Ubuntu Starter Guide
Prev Home Next

Q: How to add extra repositories?

  1. Read General Notes
  2. sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
    sudo gedit /etc/apt/sources.list
  3. Find this section
    ...
    ## Uncomment the following two lines to fetch updated software from the network
    # deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
    # deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted
    
    ## Uncomment the following two lines to fetch major bug fix updates produced
    ## after the final release of the distribution.
    # deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
    # deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
    
    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    # deb http://us.archive.ubuntu.com/ubuntu hoary universe
    # deb-src http://us.archive.ubuntu.com/ubuntu hoary universe
    
    # deb http://security.ubuntu.com/ubuntu hoary-security main restricted
    # deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted
    
    # deb http://security.ubuntu.com/ubuntu hoary-security universe
    # deb-src http://security.ubuntu.com/ubuntu hoary-security universe
  4. Replace with the following lines
    ## Uncomment the following two lines to fetch updated software from the network
    deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted
    
    ## Uncomment the following two lines to fetch major bug fix updates produced
    ## after the final release of the distribution.
    deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
    
    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://us.archive.ubuntu.com/ubuntu hoary universe
    deb-src http://us.archive.ubuntu.com/ubuntu hoary universe
    
    deb http://security.ubuntu.com/ubuntu hoary-security main restricted
    deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted
    
    deb http://security.ubuntu.com/ubuntu hoary-security universe
    deb-src http://security.ubuntu.com/ubuntu hoary-security universe
    
    deb http://archive.ubuntu.com/ubuntu hoary multiverse
    deb-src http://archive.ubuntu.com/ubuntu hoary multiverse
    
    ## Backports
    deb http://ubuntu-backports.mirrormax.net/ hoary-backports main universe multiverse restricted
    deb http://ubuntu-backports.mirrormax.net/ hoary-extras main universe multiverse restricted
  5. Save the edited file (sample)
  6. sudo apt-get update
The Unofficial Ubuntu Starter Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire