Find your own version of the corresponding source software
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
The following is the 19.10 version of Tsinghua University
Note # default image source to increase the speed apt update, if necessary, to cancel their own annotations the deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ EOAN main Restricted Universe Multiverse # the deb the src-HTTPS: // Mirrors .tuna.tsinghua.edu.cn / Ubuntu / EOAN main Tel Restricted Universe Multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ EOAN-the Updates main Tel Restricted Universe Multiverse # deb-src HTTPS: // Mirrors. EOAN-the Updates main Tel Restricted tuna.tsinghua.edu.cn/ubuntu/ Universe Multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ EOAN-backports main Tel Restricted Universe Multiverse # deb-src HTTPS: // Mirrors .tuna.tsinghua.edu.cn / Ubuntu / EOAN-backports main Restricted Universe Multiverse the deb-Security main https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ EOAN Restricted Universe Multiverse # https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ the deb-EOAN the src-Security main Restricted Universe Multiverse # Pre-release software source is not recommended to enable # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ EOAN-Proposed main Tel Restricted Universe Multiverse # deb-src https://mirrors.tuna.tsinghua.edu. cn / ubuntu / eoan-proposed main restricted universe multiverse
The following to Ali. Personal summary of some of the differences, Ali fast speed, but the problem is Tsinghua source is that it gives you the corresponding ubantu first version, so the dependence apt to install software packages less Bi Ali, and Ali could not find a place in which after you configure different sources for different versions of ubantu individuals try to use the following source some software can not be installed in ubantu19.10, fall back to the source version of Tsinghua above normal installation
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
/Etc/apt/source.list modify the software source files over, and then update
sudo apt-get update
Other commonly used commands
sudo apt-get update 更新源
sudo apt-get install package 安装包
sudo apt-get remove package 删除包
sudo apt-cache search package 搜索软件包
sudo apt-cache show package 获取包的相关信息,如说明、大小、版本等
sudo apt-get install package --reinstall 重新安装包
sudo apt-get -f install 修复安装
sudo apt-get remove package --purge 删除包,包括配置文件等
sudo apt-get build-dep package 安装相关的编译环境
sudo apt-get upgrade 更新已安装的包
sudo apt-get dist-upgrade 升级系统
sudo apt-cache depends package 了解使用该包依赖那些包
sudo apt-cache rdepends package 查看该包被哪些包依赖
sudo apt-get source package 下载该包的源代码
sudo apt-get clean && sudo apt-get autoclean 清理无用的包
sudo apt-get check 检查是否有损坏的依赖