***************
一、更换ubuntu软件源为阿里源,解决ubuntu下载安装软件慢的问题
1.打开终端(快捷键ctrl+alt+t),输入cd /etc/apt并回车
2.输入sudo chmod -R 777 sources.list并回车,然后输入密码并回车。
3.用文本编辑器打开/etc/apt目录下的sources.list
4.删除文件里的所有内容,并复制以下内容到文件中,并点击保存文件,最后关闭文件。
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