查看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