SourcesList
Differences between revisions 1 and 9 (spanning 8 versions)
|
Size: 4064
Comment: v1 of SourcesList wiki entry explaining & offering templates for repos
|
Size: 669
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| = sources.list = | The sources.list file is a key factor in adding or upgrading applications to your Ubuntu installation. This is also used by your system for system updates. The file is basically the roadmap for your system to know where it may download programs for installation or upgrade. |
| Line 3: | Line 3: |
| == definition == The sources.list file works in conjunction with the apt-get command to retrieve pre-built packages for installation. The file is basically the roadmap for apt-get to know where it may download programs for installation on your system. |
Below are the preferred methods for updating/editing your sources.list & repositories: |
| Line 6: | Line 5: |
| == location == Your sources.list file is found at: /etc/apt/sources.list. Access to this is generally found through use of the terminal: |
== Preferred Methods == This is the preferred method of adding repositories via a graphical interface. |
| Line 9: | Line 8: |
| via GNOME: {{{ sudo gedit /etc/apt/sources.list }}} via KDE {{{ sudo knote /etc/apt/sources.list }}} generic {{{ sudo nano /etc/apt/sources.list }}} |
["AddingRepositoriesHowto"] |
| Line 22: | Line 10: |
| == editing == It is up to you what is listed in your sources.list file. Many outside parties have setup repositories for package distribution in addition to the base repositories supplied by Ubuntu. Each case is different, but unless you know what you're doing (and in that case, you're probably not reading this Wiki) you should still to the basics below. |
This is the preferred method of adding repositories via a terminal-only (server) interface. |
| Line 25: | Line 12: |
| == common template == Below is a common sources.list file that will give you access to most additional programs you need. Be sure to backup your original list before making any changes! This can be done, again from the terminal, by: {{{ sudo cp /etc/apt/sources.list etc/apt/sources.list.backup }}} Basic sources.list including updates, security, ubuntu supported & community supported. 5.10 Breezy {{{ # Ubuntu supported packages (packages/source) deb http://archive.ubuntu.com/ubuntu breezy main restricted deb-src http://archive.ubuntu.com/ubuntu breezy main restricted deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted deb http://security.ubuntu.com/ubuntu breezy-security main restricted deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted # Ubuntu community supported packages (packages/source) deb http://archive.ubuntu.com/ubuntu breezy universe multiverse deb-src http://archive.ubuntu.com/ubuntu breezy universe multiverse deb http://archive.ubuntu.com/ubuntu breezy-updates universe multiverse deb-src http://archive.ubuntu.com/ubuntu breezy-updates universe multiverse deb http://security.ubuntu.com/ubuntu breezy-security universe multiverse deb-src http://security.ubuntu.com/ubuntu breezy-security universe multiverse }}} 5.04 Hoary {{{ # Ubuntu supported packages (packages/source) deb http://archive.ubuntu.com/ubuntu hoary main restricted deb-src http://archive.ubuntu.com/ubuntu hoary main restricted deb http://archive.ubuntu.com/ubuntu hoary-updates main restricted deb-src http://archive.ubuntu.com/ubuntu hoary-updates main restricted deb http://security.ubuntu.com/ubuntu hoary-security main restricted deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted # Ubuntu community supported packages (packages) deb http://archive.ubuntu.com/ubuntu hoary universe multiverse deb-src http://archive.ubuntu.com/ubuntu hoary universe multiverse deb http://archive.ubuntu.com/ubuntu hoary-updates universe multiverse deb-src http://archive.ubuntu.com/ubuntu hoary-updates universe multiverse deb http://security.ubuntu.com/ubuntu hoary-security universe multiverse deb-src http://security.ubuntu.com/ubuntu hoary-security universe multiverse }}} == backports == Many users also include the Ubuntu Backports: (The Ubuntu backports project provides packages from the development version, built for the latest stable release. This way you can mix stability with being on the bleeding edge. Use with care.) Breezy 5.10 {{{ # Ubuntu backports project (packages/source) deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse }}} Hoary 5.04 {{{ # Ubuntu backports project (packages/source) deb http://archive.ubuntu.com/ubuntu hoary-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu hoary-backports main restricted universe multiverse }}} |
["AddingRepositoriesCliHowto"] ---- ---- CategoryDocumentation |
The sources.list file is a key factor in adding or upgrading applications to your Ubuntu installation. This is also used by your system for system updates. The file is basically the roadmap for your system to know where it may download programs for installation or upgrade.
Below are the preferred methods for updating/editing your sources.list & repositories:
Preferred Methods
This is the preferred method of adding repositories via a graphical interface.
This is the preferred method of adding repositories via a terminal-only (server) interface.
["AddingRepositoriesCliHowto"]
SourcesList (last edited 2008-08-06 16:19:58 by localhost)