日韩黑丝制服一区视频播放|日韩欧美人妻丝袜视频在线观看|九九影院一级蜜桃|亚洲中文在线导航|青草草视频在线观看|婷婷五月色伊人网站|日本一区二区在线|国产AV一二三四区毛片|正在播放久草视频|亚洲色图精品一区

分享

更改ubuntu軟件源

 dongsibei 2014-06-08

哦,其實(shí)下面的都可以當(dāng)作廢話的說,因?yàn)樵诟鹿芾砥骼锩嬗凶詣?dòng)配置最佳服務(wù)器的選項(xiàng)來的,(具體在哪里??是在選擇服務(wù)器站點(diǎn) 其他站點(diǎn) 然后就會(huì)出現(xiàn)了?。。┻@是有位朋友提醒的說,很方便,更新速度很快??!

在終端輸入并運(yùn)行

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (備份當(dāng)前的源列表,以便日後需要時(shí)恢復(fù))

sudo gedit /etc/apt/sources.list (修改sources.list文件中源的列表)

sources.list文件中尾部添加

#cn99.com 源更新服務(wù)器(江蘇省常州市電信,推薦電信用戶使用,我自己是南方電信1M帶寬的用戶,更新速度平均有100K):

deb http://Ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse

deb http://Ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse

deb http://Ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse

deb http://Ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse

deb http://Ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse

deb-src http://Ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse

deb-src http://Ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse

deb-src http://Ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse

deb-src http://Ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse

deb-src http://Ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse

#Mirror. 源更新服務(wù)器(浙江省杭州市雙線服務(wù)器,網(wǎng)通同電信都可以用,亞洲地區(qū)官方更新服務(wù)器):

deb http://mirror./Ubuntu gutsy main restricted universe multiverse

deb http://mirror./Ubuntu gutsy-security main restricted universe multiverse

deb http://mirror./Ubuntu gutsy-updates main restricted universe multiverse

deb http://mirror./Ubuntu gutsy-backports main restricted universe multiverse

deb-src http://mirror./Ubuntu gutsy main restricted universe multiverse

deb-src http://mirror./Ubuntu gutsy-security main restricted universe multiverse

deb-src http://mirror./Ubuntu gutsy-updates main restricted universe multiverse

deb-src http://mirror./Ubuntu gutsy-backports main restricted universe multiverse

Ubuntu 官方源推薦北方網(wǎng)通用戶添加

deb http://archive.Ubuntu.com/ubuntu/ gutsy main restricted universe multiverse

deb http://archive.Ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse

deb http://archive.Ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse

deb http://archive.Ubuntu.com/ubuntu/ gutsy-proposed main restricted universe multiverse

deb http://archive.Ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

deb-src http://archive.Ubuntu.com/ubuntu/ gutsy main restricted universe multiverse

deb-src http://archive.Ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse

deb-src http://archive.Ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse

deb-src http://archive.Ubuntu.com/ubuntu/ gutsy-proposed main restricted universe multiverse

deb-src http://archive.Ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse


臺(tái)灣的官方源速度也相當(dāng)不錯(cuò),有時(shí)甚至快于內(nèi)陸的:

deb http://chive.Ubuntu.com/ubuntu gutsy main restricted universe multiverse

deb http://chive.Ubuntu.com/ubuntu gutsy-security main restricted universe multiverse

deb http://chive.Ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse

deb http://chive.Ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse

deb http://chive.Ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse

deb-src http://chive.Ubuntu.com/ubuntu gutsy main restricted universe multiverse

deb-src http://chive.Ubuntu.com/ubuntu gutsy-security main restricted universe multiverse

deb-src http://chive.Ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse

deb-src http://chive.Ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse

deb-src http://chive.Ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse

防止非官方源中軟件包不全的問題,請(qǐng)?jiān)趕ources.list文件中尾部添加下面這個(gè)官方源。

deb http://archive.Ubuntu.org.cn/ubuntu-cn/ feisty main restricted universe multiverse

如果沒有這個(gè)源,下面安裝某些軟件的時(shí)候會(huì)提示找不到,比如w32codecs

然后 保存編輯好的文件,執(zhí)行以下命令更新。

sudo apt-get update   #這一步是更新你的源列表,換源後必須執(zhí)行

(如果更新速度非常慢請(qǐng)更換源 sudo gedit /etc/apt/sources.list )

sudo apt-get dist-upgrade  #這一步是更新軟件

更新完軟件后,再繼續(xù)設(shè)置吧。

有時(shí)你可能需要使用:sudo apt-get -f install 修復(fù)安裝

因?yàn)榻?jīng)常會(huì)用到終端:所以把終端加到右鍵菜單:

sudo apt-get install nautilus-open-terminal

這就終端就在右鍵菜單了可以了??!

有必要學(xué)會(huì)以root權(quán)限打開文件夾

sudo apt-get install nautilus-gksu

這樣右鍵單擊文件或文件夾,選擇以管理員打開?。。?/p>

查看隱藏文件是:Ctrl+ H

 

 
  昨晚回去吃完飯就開始了ubuntu10.10的折騰之旅。用我的Live-HD啟動(dòng)之后,先來個(gè)初體驗(yàn)??陀^的說,啟動(dòng)速度和關(guān)機(jī)速度還是相當(dāng)快的。打開Firefox之后的第一件事就是安裝五筆輸入法,沒有軟件源的ubuntu顯示很是無能為力,百度到10.10的更新源,下面就是apt-get的天下了。

#官方的Ubuntu 10.10要保留幾個(gè)用于緊急更新
deb http://security.Ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.Ubuntu.com/ubuntu maverick-security main restricted
deb http://security.Ubuntu.com/ubuntu maverick-security universe
deb-src http://security.Ubuntu.com/ubuntu maverick-security universe
deb http://security.Ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.Ubuntu.com/ubuntu maverick-security multiverse

#163的,速度很不錯(cuò)的
deb http://mirrors.163.com/Ubuntu/ maverick main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-security main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-updates main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-proposed main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-backports main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-security main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-updates main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-backports main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverseo

#LUPA的源,速度也很好的(開源社區(qū))
deb http://mirror./Ubuntu maverick main restricted universe multiverse
deb http://mirror./Ubuntu maverick-security main restricted universe multiverse
deb http://mirror./Ubuntu maverick-updates main restricted universe multiverse
deb http://mirror./Ubuntu maverick-backports main restricted universe multiverse
deb http://mirror./Ubuntu maverick-proposed main restricted universe multiverse
deb-src http://mirror./Ubuntu maverick main restricted universe multiverse
deb-src http://mirror./Ubuntu maverick-security main restricted universe multiverse
deb-src http://mirror./Ubuntu maverick-updates main restricted universe multiverse
deb-src http://mirror./Ubuntu maverick-backports main restricted universe multiverse
deb-src http://mirror./Ubuntu maverick-proposed main restricted universe multiverse

#sohu的源
deb http://mirrors.sohu.com/Ubuntu/ maverick main restricted
deb-src http://mirrors.sohu.com/Ubuntu/ maverick main restricted
deb http://mirrors.sohu.com/Ubuntu/ maverick-updates main restricted
deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates main restricted
deb http://mirrors.sohu.com/Ubuntu/ maverick universe
deb-src http://mirrors.sohu.com/Ubuntu/ maverick universe
deb http://mirrors.sohu.com/Ubuntu/ maverick-updates universe
deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates universe
deb http://mirrors.sohu.com/Ubuntu/ maverick multiverse
deb-src http://mirrors.sohu.com/Ubuntu/ maverick multiverse
deb http://mirrors.sohu.com/Ubuntu/ maverick-updates multiverse
deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates multiverse

#中國臺(tái)灣的源
deb http://security.Ubuntu.com/ubuntu/ maverick-security universe main multiverse restricted
deb-src http://chive.Ubuntu.com/ubuntu/ maverick-security universe main multiverse restricted
deb http://chive.Ubuntu.com/ubuntu/ maverick main universe restricted multiverse
deb-src http://chive.Ubuntu.com/ubuntu/ maverick main universe restricted multiverse
deb http://chive.Ubuntu.com/ubuntu/ maverick-updates universe main multiverse restricted
deb-src http://chive.Ubuntu.com/ubuntu/ maverick-updates universe main multiverse restricted
deb http://chive.Ubuntu.com/ubuntu/ maverick-proposed universe main multiverse restricted
deb-src http://chive.Ubuntu.com/ubuntu/ maverick-proposed universe main multiverse restricted


我用的是校園網(wǎng),因此下面地址比較快:
deb http://ubuntu./ubuntu/ intrepid main multiverse restricted universe
deb http://ubuntu./ubuntu/ intrepid-backports main multiverse restricted universe
deb http://ubuntu./ubuntu/ intrepid-proposed main multiverse restricted universe
deb http://ubuntu./ubuntu/ intrepid-security main multiverse restricted universe
deb http://ubuntu./ubuntu/ intrepid-updates main multiverse restricted universe
deb-src http://ubuntu./ubuntu/ intrepid main multiverse restricted universe
deb-src http://ubuntu./ubuntu/ intrepid-backports main multiverse restricted universe
deb-src http://ubuntu./ubuntu/ intrepid-proposed main multiverse restricted universe
deb-src http://ubuntu./ubuntu/ intrepid-security main multiverse restricted universe
deb-src http://ubuntu./ubuntu/ intrepid-updates main multiverse restricted universe

具體操作:
$sudo gedit /etc/apt/source.list
delete all the information in source.list and copy the addresses mentioned above; save
$sudo apt-get uptate

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約