該源列表只針對 ubuntu 14.04 lts 不可以與其他版本的 ubuntu 混用 ,阿里雲的更新源比較快。其他版本更新源參見:源列表
先備份源列表
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup然後開啟源列表,清空內容,將下面源列表貼上到裡面,儲存。
sudo gedit /etc/apt/sources.list更新源
sudo apt-get updateubuntu 14.04 lts 阿里雲更新源、官方源和第三方更新源列表:
#aliyun
deb trusty main restricted universe multiverse
deb trusty-security main restricted universe multiverse
deb trusty-updates main restricted universe multiverse
deb trusty-proposed main restricted universe multiverse
deb trusty-backports main restricted universe multiverse
deb-src trusty main restricted universe multiverse
deb-src trusty-security main restricted universe multiverse
deb-src trusty-updates main restricted universe multiverse
deb-src trusty-proposed main restricted universe multiverse
deb-src trusty-backports main restricted universe multiverse
#ubuntu
deb trusty main restricted universe multiverse
deb trusty-security main restricted universe multiverse
deb trusty-updates main restricted universe multiverse
deb trusty-proposed main restricted universe multiverse
deb trusty-backports main restricted universe multiverse
deb-src trusty main restricted universe multiverse
deb-src trusty-security main restricted universe multiverse
deb-src trusty-updates main restricted universe multiverse
deb-src trusty-proposed main restricted universe multiverse
deb-src trusty-backports main restricted universe multiverse
#ubuntu other
deb trusty partner
deb trusty main
下面再提供乙個中科大的映象源:
(由 snullp 提供)
例如ubuntu14.04
deb trusty main restricted universe multiversedeb-src trusty main restricted universe multiverse
deb trusty-security main restricted universe multiverse
deb-src trusty-security main restricted universe multiverse
deb trusty-updates main restricted universe multiverse
deb-src trusty-updates main restricted universe multiverse
deb trusty-backports main restricted universe multiverse
deb-src trusty-backports main restricted universe multiverse
## not recommended
# deb trusty-proposed main restricted universe multiverse
# deb-src trusty-proposed main restricted universe multiverse
Ubuntu14 04更換阿里雲源
步驟很簡單一共三步,如下所示 第一 備份原始檔 防止萬一 sudo cp etc apt sources.list etc apt sources.list.bak 第二 修改原始檔 這裡的原始檔是你通過vim新建的原始檔 sudo vim etc apt sources.list sources....
ubuntu 14 04更換清華的軟體源
cp etc apt sources.list etc apt sources.list.bak sudo vim etc apt sources.listvim開啟以後用vim的 dd命令刪除,ndd表示刪除游標一下n行,刪完後加入清華軟體源 預設注釋了原始碼映象以提高 apt update 速度...
Ubuntu14 04解除安裝核心
1 前言 通過apt get install安裝的核心可以通過apt get remove解除安裝 通過dpkg i安裝的核心可以通過dpkg r解除安裝 但是通過 ubuntu14.04編譯安裝kernel 上 所用的make install方法安裝的核心,解除安裝就沒那個容易了。筆者在ubunt...