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如何配置軟體映象源?Ubuntu
- Ubuntu的一些軟體源Ubuntu
- 釋出你的開源軟體到 Ubuntu PPAUbuntu
- 開源專案 pyqt 軟體自動更新框架QT框架
- Ubuntu20.10初次安裝後無法更新軟體及VimUbuntu
- 開源軟體映象站的使用:騰訊軟體源、阿里軟體源、浙大軟體源阿里
- Ubuntu軟體安裝Ubuntu
- 如何在 Ubuntu 18.04 上更新韌體Ubuntu
- 重灌ubuntu16.04之後的基礎操作(介面美觀+安裝瀏覽器+更新軟體源+安裝ROS)Ubuntu瀏覽器ROS
- Ubuntu: 軟體庫(software repositories)Ubuntu
- #軟體更新#Visual Studio更新到16.3.8
- Ubuntu中fcitx安裝失敗問題,及軟體換源問題Ubuntu
- Ubuntu 軟體安裝命令:aptUbuntuAPT
- 入坑 ubuntu 20.04——常用軟體Ubuntu
- Ubuntu常用軟體安裝命令Ubuntu
- Laravel 安裝 sail時ubuntu軟體源很慢或者connection failed 解決辦法LaravelAIUbuntu
- Ubuntu.24軟體包的清理Ubuntu
- Ubuntu 18.04 需要安裝的軟體Ubuntu
- Ubuntu 的軟體管理工具Ubuntu
- Rocky Linux 軟體源Linux
- 越獄軟體源
- 【Ubuntu】Ubuntu 24 配置映象源Ubuntu
- ubuntu 修改源Ubuntu
- ubuntu換源Ubuntu
- 前端學習 linux —— 軟體安裝(Ubuntu)前端LinuxUbuntu
- Ubuntu 16.04 LTS軟體包管理基本操作Ubuntu
- 【Ubuntu】Ubuntu常用的更新、清理命令指令碼Ubuntu指令碼
- windows10怎樣更新內建軟體_win10更新內建軟體的方法WindowsWin10
- 軟體資源規劃
- 騰訊雲軟體源
- Kali Linux軟體更新日報20190623Linux
- Kali Linux軟體更新日報20190622Linux
- golang常用軟體包(長期更新)Golang