ubuntu12 04國內軟體源

2022-05-02 11:33:08 字數 2120 閱讀 7293

163源

deb  precise main restricted

deb-src precise main restricted

deb precise-updates main restricted

deb-src precise-updates main restricted

deb precise universe

deb-src precise universe

deb precise-updates universe

deb-src precise-updates universe

deb precise multiverse

deb-src precise multiverse

deb precise-updates multiverse

deb-src precise-updates multiverse

deb precise-backports main restricted universe multiverse

deb-src precise-backports main restricted universe multiverse

deb precise-security main restricted

deb-src precise-security main restricted

deb precise-security universe

deb-src precise-security universe

deb precise-security multiverse

deb-src precise-security multiverse

deb precise main

deb-src precise main

sohu源

deb  precise main restricted

deb-src precise main restricted

deb precise-updates main restricted

deb-src precise-updates main restricted

deb precise universe

deb-src precise universe

deb precise-updates universe

deb-src precise-updates universe

deb precise multiverse

deb-src precise multiverse

deb precise-updates multiverse

deb-src precise-updates multiverse

deb precise-backports main restricted universe multiverse

deb-src precise-backports main restricted universe multiverse

deb precise-security main restricted

deb-src precise-security main restricted

deb precise-security universe

deb-src precise-security universe

deb precise-security multiverse

deb-src precise-security multiverse

deb precise main

deb-src precise main

使用方式:

sudo gedit /etc/apt/sources.list

然後把裡面的列表替換成上面的列表,儲存退出即可,修改完之後最好重新整理一下系統的源:

sudo apt-get update
事實上,ubuntu 已經收錄了國內大部分知名的源,所以無需上網查詢。

然後可以自己選擇乙個源,建議163源,比較穩定

選中後,點選右下角的選擇伺服器即可!

Ubuntu12 04下新增本地軟體源

其實,搭建這個詞兒並不是很合適,只是簡單的提供乙個方法來在本地構成乙個軟體源。當然,據本人猜測 還沒有實踐 這個方法同樣適用於伺服器,至於國內外各大映象 是不是這麼做的,我太菜,不知道,如果說得不對,望您批評指正!好了,開始說一下我的做法。準備工作有四點要做好,安裝dpkg dev 收集軟體包 建立...

Ubuntu 12 04 國內更新源列表

1 首先備份ubuntu 11.10源列表 sudo cp etc apt sources.list etc apt sources.list.backup 備份下當前的源列表 2 修改更新源 sudo gedit etc apt sources.list 台灣源 deb precise main ...

ubuntu 12 04 源 教育網

修改源方法 sudo i 取得root許可權 gedit etc apt source.list 開啟存放源位址的source.list檔案 清空source.list檔案 之前記得備份,雖然我基本上沒備份過 在下面找乙個或多個學校的源複製到source.list檔案中,儲存退出 apt get u...