歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 8.04 LTS軟件源設置新手學習攻略

Ubuntu 8.04 LTS軟件源設置新手學習攻略

日期:2017/2/28 17:05:24   编辑:Linux教程

其實在Ubuntu 8.04裡和以前的ubuntu發行版中設置軟件源的方法是一樣的.Ubuntu 8.04 LTS (Hardy HUeron)正式版即將發行了,當”小白鼠”的朋友,越來越多,問到這個問題的人也不少,今就專門寫一篇在Ubuntu 8.04 LTS (Hardy Heron) 裡修改源的方法,之前本站的原創團隊成員幻星之孤獨曾寫過一篇叫《細說 Ubuntu Linux 軟件源》 的文章,寫得很不錯,十分的詳細.今天我簡單得說一下,不清楚具體方法的朋友可以去參考一下那篇文章.

備份軟件源:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

編輯軟件源:
sudo gedit /etc/apt/sources.list

從下面列表中選擇合適的源(注意:一定要選和你的系統一致的版本 8.04、7.10、 7.04、6.10、 6.06),替換掉文件中內容,保存編輯好的文件

更新軟件源:
sudo apt-get update

推薦軟件源:
不同的網絡狀況連接以下源的速度不同, 所以cn99並不一定是最快的源, 建議在添加前手動驗證以下源的連接速度(ping下就行),比如說北京網通ADSL用戶連接cn99就非常慢,而ftp.sjtu.edu.cn是相對較快的源,選擇最快的源可以節省大批下載時間

Ubuntu.cn99.com更新服務器(江蘇省常州市電信,推薦電信用戶使用):

deb http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse

台灣大學更新服務器(推薦網通用戶使用,強烈推薦此源,比較完整):

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse

Copyright © Linux教程網 All Rights Reserved