查看Ubuntu版本: 在终端输入命令: lsb_release -a uname -a 查看long的位数:getconf LONG_BIT 备份并替换/etc/apt/sources.list的源内容 deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverseubuntu
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverserest
deb http://archive.canonical.com/ubuntu/ xenial partner deb http://extras.ubuntu.com/ubuntu/ xenial mainget
vi显示行数 : 在冒号后输入set number 关闭 set nonumber源码
更新软件源,读取软件列表包 apt-get update 更新全部软件 apt-get dist-upgrade 安装相应软件 apt-get install 软件名it