Ubuntu17.10如何修改软件源
发表于:2025-12-03 作者:千家信息网编辑
千家信息网最后更新 2025年12月03日,这篇文章给大家分享的是有关Ubuntu17.10如何修改软件源的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。安装好ubuntu 17.10后,我们发现使用apt-get 安
千家信息网最后更新 2025年12月03日Ubuntu17.10如何修改软件源
这篇文章给大家分享的是有关Ubuntu17.10如何修改软件源的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。
安装好ubuntu 17.10后,我们发现使用apt-get 安装软件时特别慢,所以需要更换一下软件源。
方法:
1.备份自带源
sudo cp /etc/apt/sources.list ~/sources.list.bak
2.修改源:
把以下内容贴到/etc/apt/sources.list文件中:
# deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.deb http://mirrors.aliyun.com/ubuntu/ artful main restricted# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty main restricted## Major bug fix updates produced after the final release of the## distribution.deb http://mirrors.aliyun.com/ubuntu/ artful-updates main restricted# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu## team. Also, please note that software in universe WILL NOT receive any## review or updates from the Ubuntu security team.deb http://mirrors.aliyun.com/ubuntu/ artful universe# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty universedeb http://mirrors.aliyun.com/ubuntu/ artful-updates universe# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu## security team.deb http://mirrors.aliyun.com/ubuntu/ artful multiverse# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty multiversedeb http://mirrors.aliyun.com/ubuntu/ artful-updates multiverse# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse## N.B. software from this repository may not have been tested as## extensively as that contained in the main release, although it includes## newer versions of some applications which may provide useful features.## Also, please note that software in backports WILL NOT receive any review## or updates from the Ubuntu security team.#deb http://mirrors.aliyun.com/ubuntu/ artful-backports main restricted universe multiverse# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical's## 'partner' repository.## This software is not part of Ubuntu, but is offered by Canonical and the## respective vendors as a service to Ubuntu users.# deb http://archive.canonical.com/ubuntu zesty partner# deb-src http://archive.canonical.com/ubuntu zesty partner# deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.#deb http://mirrors.aliyun.com/ubuntu/ artful main restricted# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty main restricted## Major bug fix updates produced after the final release of the## distribution.#deb http://mirrors.aliyun.com/ubuntu/ artful-updates main restricted# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu## team. Also, please note that software in universe WILL NOT receive any## review or updates from the Ubuntu security team.#deb http://mirrors.aliyun.com/ubuntu/ artful universe# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty universe#deb http://mirrors.aliyun.com/ubuntu/ artful-updates universe# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu## security team.#deb http://mirrors.aliyun.com/ubuntu/ artful multiverse# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty multiverse#deb http://mirrors.aliyun.com/ubuntu/ artful-updates multiverse# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse## N.B. software from this repository may not have been tested as## extensively as that contained in the main release, although it includes## newer versions of some applications which may provide useful features.## Also, please note that software in backports WILL NOT receive any review## or updates from the Ubuntu security team.#deb http://mirrors.aliyun.com/ubuntu/ artful-backports main restricted universe multiverse# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical's## 'partner' repository.## This software is not part of Ubuntu, but is offered by Canonical and the## respective vendors as a service to Ubuntu users.# deb http://archive.canonical.com/ubuntu zesty partner# deb-src http://archive.canonical.com/ubuntu zesty partner
3.更新源
sudo apt-get update
感谢各位的阅读!关于"Ubuntu17.10如何修改软件源"这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!
N.B.
软件
内容
更多
篇文章
不错
实用
备份
文件
文章
方法
看吧
知识
装好
参考
帮助
更新
有关
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
单位人员管理制度网络安全
现在流行的主要网络技术
2022年国家网络安全宣传日
服务器主板值钱吗
济南宇泉网络技术
武汉大学国家网络安全学院课题组
网络安全班会课件免费
快递柜系统数据库
长宁区提供数据库系统机构整顿
爱彼迎服务器
开展网络安全知识竞赛活动
网络安全设备频繁死机
软件开发费进什么会计科目
软件开发需要的能力
辽宁月考app服务器地址
游驰网络技术 上市
怎么快速复制网站上数据库
网络安全法互联网企业责任
浏览国外服务器怎样才会快些
湖北航天安全接入服务器地址
北京学校时间频率同步服务器
中国数据库有多少
提高网络安全作文
企业邮箱海外服务器
计算机网络技术很难找工作吗
朝阳区品质软件开发介绍
c 服务器开发书籍
emby服务器推荐
微云服务器内存资源不足
腾讯网络安全赛