婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > Ubuntu 18.04更換apt-get源的方法

Ubuntu 18.04更換apt-get源的方法

熱門標簽:地圖標注員有發展前景嗎 高德地圖標注公司需要錢 云南電商智能外呼系統哪家好 廈門防封電銷電話卡 濰坊寒亭400電話辦理多少錢 地圖標注能更改嗎 宜賓銷售外呼系統軟件 四川保險智能外呼系統 外呼系統全國

使用apt-get安裝時,會很慢,更換了國內的源后,就可以解決這個問題了。

1. 備份sources.list文件

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

2. 打開sources.list文件

sudo gedit /etc/apt/sources.list

3. 刪除原內容,添加下列內容

#清華源
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiversedeb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiversedeb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiversedeb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiversedeb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiversedeb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

#阿里云源
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

這兩個源都可以用,我都試過,感覺阿里云源速度更快。

4. 更新

保存sources.list文件后需要更新apt-get。

sudo apt-get update

更新完成后就可以正常使用了。

到此這篇關于Ubuntu 18.04更換apt-get源的文章就介紹到這了,更多相關Ubuntu 18.04更換apt-get源內容請搜索腳本之家以前的文章或繼續瀏覽下面的相關文章希望大家以后多多支持腳本之家!

標簽:紅河 德州 廊坊 湛江 巴彥淖爾 回訪 滁州 廣安

巨人網絡通訊聲明:本文標題《Ubuntu 18.04更換apt-get源的方法》,本文關鍵詞  Ubuntu,18.04,更換,apt-get,源,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《Ubuntu 18.04更換apt-get源的方法》相關的同類信息!
  • 本頁收集關于Ubuntu 18.04更換apt-get源的方法的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 肥西县| 建阳市| 兰溪市| 三亚市| 宜昌市| 朝阳县| 万载县| 新郑市| 甘德县| 治多县| 鄯善县| 容城县| 江达县| 旺苍县| 措勤县| 于都县| 莱阳市| 宜黄县| 壶关县| 双流县| 鹤峰县| 乡城县| 额济纳旗| 安庆市| 白玉县| 安宁市| 驻马店市| 正安县| 黎平县| 灵川县| 宜章县| 景宁| 濮阳市| 西盟| 洪洞县| 昌都县| 手游| 闽侯县| 古丈县| 慈溪市| 大同市|