Ubuntu更新軟體源
預設情況下,Ubuntu的軟體源在國內使用不是很理想,網速限制太大,造成一些較大的軟體下載安裝一直超時的情況出現。
針對這樣的情況,只需要對Ubuntu的軟體源(自動搜尋安裝軟體的遠端倉庫)新增更新國內各位大佬或者組織維護的軟體源即可。
以Ubuntu18.04為例:
1. 備份原有軟體原始檔
cp /etc/apt/sources.list /etc/apt/sources.list.bak_yyyymmdd
2. 開啟sources.list檔案,在檔案末尾增加如下軟體源地址
vi /etc/apt/sources.list
追加如下地址:
#新增阿里源
deb bionic main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb bionic-proposed main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
deb-src bionic main restricted universe multiverse
deb-src bionic-security main restricted universe multiverse
deb-src bionic-updates main restricted universe multiverse
deb-src bionic-proposed main restricted universe multiverse
deb-src bionic-backports main restricted universe multiverse
3. 更新系統軟體源
執行命令,更新系統軟體源地址
apt-get update
apt-get upgrade
4. 其他軟體源
中科大源
##中科大源
deb bionic main restricted universe multiverse
deb-src bionic main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb-src bionic-updates main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
deb-src bionic-backports main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb-src bionic-security main restricted universe multiverse
deb bionic-proposed main restricted universe multiverse
deb-src bionic-proposed main restricted universe multiverse
163源
##163源
deb bionic main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb bionic-proposed main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
deb-src bionic main restricted universe multiverse
deb-src bionic-security main restricted universe multiverse
deb-src bionic-updates main restricted universe multiverse
deb-src bionic-proposed main restricted universe multiverse
deb-src bionic-backports main restricted universe multiverse
清華源
##清華源
deb bionic main restricted universe multiverse
deb-src bionic main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb-src bionic-updates main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
deb-src bionic-backports main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb-src bionic-security main restricted universe multiverse
deb bionic-proposed main restricted universe multiverse
deb-src bionic-proposed main restricted universe multiverse
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/506/viewspace-2819455/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Ubuntu軟體更新更換源Ubuntu
- Ubuntu20.04更新軟體源Ubuntu
- Ubuntu 軟體源Ubuntu
- Ubuntu 配置軟體源Ubuntu
- ubuntu上的軟體源Ubuntu
- Ubuntu 1604更新軟體提示WUbuntu
- Ubuntu如何配置軟體映象源?Ubuntu
- Ubuntu的一些軟體源Ubuntu
- Ubuntu16.04常用軟體源Ubuntu
- CentOS 7 更新軟體源和系統CentOS
- 釋出你的開源軟體到 Ubuntu PPAUbuntu
- 開源專案 pyqt 軟體自動更新框架QT框架
- ubuntu 軟體安裝Ubuntu
- Ubuntu軟體安裝Ubuntu
- Ubuntu20.10初次安裝後無法更新軟體及VimUbuntu
- Ubuntu 開發軟體集合Ubuntu
- UBUNTU檢視軟體版本Ubuntu
- 騰訊軟體源
- 如何在 Ubuntu 18.04 上更新韌體Ubuntu
- 重灌ubuntu16.04之後的基礎操作(介面美觀+安裝瀏覽器+更新軟體源+安裝ROS)Ubuntu瀏覽器ROS
- Ubuntu: 軟體庫(software repositories)Ubuntu
- Ubuntu常用軟體安裝命令Ubuntu
- Ubuntu 軟體安裝命令:aptUbuntuAPT
- 越獄軟體源
- 騰訊雲軟體源
- 搭建本地軟體源
- Ubuntu中fcitx安裝失敗問題,及軟體換源問題Ubuntu
- 入坑 ubuntu 20.04——常用軟體Ubuntu
- Ubuntu 的軟體管理工具Ubuntu
- ubuntu下安裝錄屏軟體Ubuntu
- ubuntu下常用軟體的安裝Ubuntu
- Ubuntu.24軟體包的清理Ubuntu
- 軟體工程APP進度更新軟體工程APP
- Ubuntu軟體中心因推廣非自由軟體被批評Ubuntu
- #軟體更新#Visual Studio更新到16.3.8
- 關於開源軟體和閉源軟體我個人Naive的看法AI
- Ubuntu桌面生存指南(5):Ubuntu常用效率軟體簡介Ubuntu
- Laravel 安裝 sail時ubuntu軟體源很慢或者connection failed 解決辦法LaravelAIUbuntu