Linux软件源的设置方法

1 打开数据源配置文件

vi /etc/apt/sources.list

添加相关的数据源,可以选择以下的数据源,不要写太多,否则会影响更新速度。

之后使用apt-get update更新源列表

为防止非官方源中软件包不全的问题,请在sources.list文件中尾部添加一组官方源。

#######################################

# 163

#######################################

deb http://mirrors.163.com/debian/ lenny main contrib non-free

deb-src http://mirrors.163.com/debian lenny main contrib non-free

deb http://mirrors.163.com/debian-security/ stable/updates main

deb-src http://mirrors.163.com/debian-security/ stable/updates main

#######################################

# official

#######################################

deb http://ftp.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.debian.org/debian/ lenny main contrib non-free

deb http://ftp.us.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ stable/updates main

deb-src http://security.debian.org/ stable/updates main

deb http://volatile.debian.org/debian-volatile stable/volatile main

deb-src http://volatile.debian.org/debian-volatile stable/volatile main

#######################################

# 台湾及大陆教育网高校等

#######################################

deb http://ftp.tw.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.tw.debian.org/debian lenny main contrib non-free

deb http://mirrors.geekbone.org/debian/ lenny main contrib non-free

deb-src http://mirrors.geekbone.org/debian/ lenny main contrib non-free

deb http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free

deb-src http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free

deb http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free

deb-src http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free

### ustc debian-multimedia

deb http://debian.ustc.edu.cn/debian-multimedia/ stable main

deb-src http://debian.ustc.edu.cn/debian-multimedia/ stable main

### ustc debian-security

deb http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib

deb-src http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib

linux系统如何更新软件源相关推荐

  1. Linux学习笔记---更新软件源

    在安装或者更新软件的时候,系统默认会从官方网站上下载数据.但是官方网站都是在国外,访问速度非常慢. 为了使软件下载速度更快,可以将软件源的下载地址由国外改到国内,这样软件在更新或者下载的时候速度就会快 ...

  2. Debian系linux系统常用配置软件源

    2019独角兽企业重金招聘Python工程师标准>>> Debian软件源配置 目录:/etc/apt/source.list 网易163软件源(推荐) deb http://mir ...

  3. ubuntu无法apt_Ubuntu19.04更新软件源及系统更新时无法获得锁的处理

    对于Ubuntu系统, 不同的版本的源都不一样,每一个版本都有自己专属的源.由于官方网站下载比较慢,所以在装完 Ubuntu 系统后最好把官方源更换为国内的源. 第一步获取 Ubuntu 代号 Ubu ...

  4. linux 更新软件源

    更新软件源: root权限: leafpad /etc/apt/sources.list 然后添加以下较快的源: deb http://http.kali.org/kali kali main non ...

  5. centos 卸载软件_一篇看懂!详解-Linux系统中安装软件的三种方法

    Linux系统中安装软件的三种方法 注:本文主要以CentOS为例介绍常用的安装方式,其他版本linux在文章底部 Linux系统中怎么安装软件,首先说一下应用程序与系统命令的区别: 1.文件位置 系 ...

  6. arch Linux添加源,在Arch Linux系统中使用Archlinuxcn源(清华源)的方法

    如果你想在Arch Linux系统中更换为Archlinuxcn源(清华源),那就按本文的方法操作,只需要三步就可以使用到Archlinuxcn源(清华源)了. 背景:在Arch Linux系统中选择 ...

  7. Linux系统下工具软件的安装

    Linux系统下软件的几种安装方法 1 背景 2 环境 3 安装工具 3.1 准备工作 3.1.1 更新系统 3.2 系统工具 3.2.1 elementary-tweaks 工具 3.2.3 Edd ...

  8. Linux系统中常用软件的安装(os7)

    # Linux系统中常用软件的安装(os7) 文章目录 1 `JDK`安装 2 `tomcat`安装 (1) 解压缩tomcat.tar.gz (2) 运行tomcat/bin/startup.sh ...

  9. Linux 发行版添加软件源

     简介: Linux系统的软件包通常存放在软件源(Repository)中,添加软件源之后,您可使用Linux系统提供的包管理工具查找.安装或更新软件源中包含的软件.本文以阿里云软件源为例,分别介绍在 ...

最新文章

  1. iphonex价格_iPhone12成10年内最受期待的苹果手机,但价格会狂涨
  2. 通过getGeneratedKeys获取记录的主键
  3. linux上的ftp怎么设置编码格式,linux ftp客户端的编码问题
  4. 阿里云linux下web服务器配置
  5. 【LeetCode】79-单词搜索
  6. 华为交换机关闭接口命令_华为交换机常用命令及技巧
  7. checksum命令 linux,Windows相当于linux cksum命令
  8. Qt QT_BEGIN_NAMESPACE
  9. masm编译.asm文件报错fatal errorA1000: cannot open file
  10. 基于Vue2和jsmind.js实现思维导图
  11. 揭秘!女程序员为啥更赚钱?这4个大招,用Python做副业躺赚
  12. CSDN第二篇文章· 爬虫突破封禁的6种常见方法
  13. 字符集详解(学习,看一篇就够了)
  14. 东北大学 计算机网络,东北大学计算机网络B卷(附答案).pdf
  15. 查询GPU时无进程运行,但是显存却被占用了
  16. 端口渗透——21端口FTP
  17. VUE中V-IF条件判断改变元素的样式
  18. 软考高级 真题 2014年下半年 信息系统项目管理师 综合知识
  19. 【uiautomation】微信好友昵称及备注获取(存储到excel中)
  20. 程序员做外包有前途吗?谈谈外包的利与弊,字字扎心

热门文章

  1. mysql数据库管理人员_dba数据库管理员的职责是什么
  2. 【3】python二级——操作题
  3. EsgynDB如何选择表分区
  4. 看看这些医疗差距在哪里?
  5. 优思学院|六西格玛的独到之处(下)
  6. NewStarCTF week5 web 部分题解
  7. python cookbook是什么意思_《Python cookbook》读书笔记三
  8. 数据透视表自动刷新的vba代码
  9. 芒果数据库 四天学习笔记分享
  10. getshell.php,PHPYUN设计缺陷导致轻易Getshell