您的位置 首页 > 数码极客

ubuntu如何更换源—Ubuntu更换主题…

一般来说ubuntu官方的软件仓库由于服务器在国外,下载更新速度较慢,需要将软件仓库更换为国内镜像点。

1、修改源配置文件

① 先备份原来的配置文件

mv /etc/a /etc/a.bak

vim /etc/a

② 将国内的Ubuntu镜像点添加到配置文件
  • Ubuntu 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 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
  • 北京理工大学Ubuntu镜像点:
deb precise main multiverse restricted universe deb precise-backports main multiverse restricted universe deb precise-proposed main multiverse restricted universe deb precise-security main multiverse restricted universe deb precise-updates main multiverse restricted universe deb-src precise main multiverse restricted universe deb-src precise-backports main multiverse restricted universe deb-src precise-proposed main multiverse restricted universe deb-src precise-security main multiverse restricted universe deb-src precise-updates main multiverse restricted universe 1 2 3 4 5 6 7 8 9 10

2、更新源

apt-get update

现在修改后的国内的ubuntu镜像点就可以使用了。

责任编辑: 鲁达

1.内容基于多重复合算法人工智能语言模型创作,旨在以深度学习研究为目的传播信息知识,内容观点与本网站无关,反馈举报请
2.仅供读者参考,本网站未对该内容进行证实,对其原创性、真实性、完整性、及时性不作任何保证;
3.本站属于非营利性站点无毒无广告,请读者放心使用!

“ubuntu如何更换源,Ubuntu更换主题,ubuntu如何更换背景,ubuntu如何更新源,ubuntu如何查看源”边界阅读