Ubuntu8.04HardyLTS software source settings

Source: Internet
Author: User
Preface: Xiao F browsed many domestic and foreign websites and read a lot of articles about the configuration of Ubuntu8.04HardyLTS software source (SoftwareSources). He found that many articles have misunderstandings about the configuration of software source, in order to allow new people to smoothly enter the family of Ubuntu, Xiao F made this article to introduce in detail the configuration of Ubuntu8.04 software source. 1. What is SoftwareSources? In Ubuntu, a software source is

Preface: Xiao F browsed many domestic and foreign websites and read a lot of articles about the configuration of the Software Sources of Ubuntu 8.04 hard LTS Software source, I found that many articles have misunderstandings about the software source settings. In order to allow new users to smoothly enter the Ubuntu family, Xiao F made this article to introduce in detail the configuration of the software source for Ubuntu 8.04.

1. What is Software Sources?

In Ubuntu, a software source is a collection of addresses that can obtain software. The address can be a website, a CD, or a directory on a hard disk. There is a "software warehouse" on the software source, and various software are stored in the software warehouse. When you need a software, you can automatically download it and install it using a new tool (such as synaptic, apt-get, or aptitude.

2. What convenience can I get when Software Sources are set up?

Routine software installation or update is performed by obtaining software packages from the software source. Setting software sources allows you to obtain important security updates in a timely manner to solve security risks, or fix known problems to make it easier to use. Setting software sources can also speed up the above operations and save valuable time.

3. I am a newbie. I will not set it. Is there a simple graphical interface for setting?

The Ubuntu System-System management (Administration) Menu provides the Software source setting (Software Sources) program on the graphical interface, this is not enough! (For more information about the setting method, see the following link)

4. Correct settings!

Before modifying the settings, back up the original settings. This step seems redundant. It is actually a good habit and is conducive to the recovery of configuration errors. Backup method: press Alt + F2, and then enter gksu cp/etc/apt/sources. list/etc/apt/sources. list-backup. Press enter and enter your password.

Then open the setup program: System-System management-Software Sources ). On the first tab, click the menu on the right of "Download From" and select "Others... (Others ...)". In the displayed window, click Select Best Server )". The system will automatically ping the servers in the official server list and select the fastest server!

Press Alt + F2 to open "Run Application" and enter gksu gedit/etc/apt/sources. list. Enter your password if you are prompted. Move the cursor to the end of the file.

(1) Telecom Users Add the following content:

Deb http://ubuntu.cn99.com/ubuntu/ hard main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ hard-security main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ hard-updates main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ hard-proposed main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ hard-backports main restricted universe multiverse
Deb-src http://ubuntu.cn99.com/ubuntu/ hard main restricted universe multiverse
Deb-src http://ubuntu.cn99.com/ubuntu/ hard-security main restricted universe multiverse
Deb-src http://ubuntu.cn99.com/ubuntu/ hard-updates main restricted universe multiverse
Deb-src http://ubuntu.cn99.com/ubuntu/ hard-proposed main restricted universe multiverse
Deb-src http://ubuntu.cn99.com/ubuntu/ hard-backports main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu-cn hard main restricted universe multiverse
Deb http://us.archive.ubuntu.com/ubuntu/ hard main restricted
Deb-src http://us.archive.ubuntu.com/ubuntu/ hard restricted main universe
Deb http://us.archive.ubuntu.com/ubuntu/ hard universe
Deb http://us.archive.ubuntu.com/ubuntu/ hard-updates universe
Deb-src http://us.archive.ubuntu.com/ubuntu/ hard-updates universe
Deb http://archive.ubuntu.com/ubuntu/ hard main restricted
Deb-src http://archive.ubuntu.com/ubuntu/ hard restricted main universe
Deb http://archive.ubuntu.com/ubuntu/ hard universe
Deb http://archive.ubuntu.com/ubuntu/ hard-updates universe
Deb-src http://archive.ubuntu.com/ubuntu/ hard-updates universe # Added by software-properties
Deb http://security.ubuntu.com/ubuntu hard-security main restricted
Deb-src http://security.ubuntu.com/ubuntu hard-security restricted main universe
Deb http://security.ubuntu.com/ubuntu hard-security universe

(2) Add the following content to Netcom/CERNET users:

Deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hard main restricted universe multiverse
Deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hard main restricted universe multiverse
Deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hard-updates main restricted universe multiverse
Deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hard-updates main restricted universe multiverse
Deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hard-backports main restricted universe multiverse
Deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hard-backports main restricted universe multiverse
Deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hard-security main restricted universe multiverse
Deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hard-security main restricted universe multiverse
Deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hard-proposed main multiverse restricted universe
Deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hard-proposed main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu-cn hard main restricted universe multiverse
Deb http://us.archive.ubuntu.com/ubuntu/ hard main restricted
Deb-src http://us.archive.ubuntu.com/ubuntu/ hard restricted main universe
Deb http://us.archive.ubuntu.com/ubuntu/ hard universe
Deb http://us.archive.ubuntu.com/ubuntu/ hard-updates universe
Deb-src http://us.archive.ubuntu.com/ubuntu/ hard-updates universe
Deb http://archive.ubuntu.com/ubuntu/ hard main restricted
Deb-src http://archive.ubuntu.com/ubuntu/ hard restricted main universe
Deb http://archive.ubuntu.com/ubuntu/ hard universe
Deb http://archive.ubuntu.com/ubuntu/ hard-updates universe
Deb-src http://archive.ubuntu.com/ubuntu/ hard-updates universe # Added by software-properties
Deb http://security.ubuntu.com/ubuntu hard-security main restricted
Deb-src http://security.ubuntu.com/ubuntu hard-security restricted main universe
Deb http://security.ubuntu.com/ubuntu hard-security universe

Then press Ctrl + S to save the document and close the window.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.