1、備份
cp /etc/apt/sources.list /etc/apt/sources.list.bak
2、編輯原始檔vim /etc/apt/sources.list
3、更換原始檔
刪除sources.list檔案的內容,選擇以下的乙個源新增到sources.list檔案裡
vim的使用
1、esc鍵 + :wq 儲存返回
2、i 插入
新增阿里源
deb bionic main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb bionic-proposed main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
deb-src bionic main restricted universe multiverse
deb-src bionic-security main restricted universe multiverse
deb-src bionic-updates main restricted universe multiverse
deb-src bionic-proposed main restricted universe multiverse
deb-src bionic-backports main restricted universe multiverse
中科大源
deb bionic main restricted universe multiverse
deb-src bionic main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb-src bionic-updates main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
deb-src bionic-backports main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb-src bionic-security main restricted universe multiverse
deb bionic-proposed main restricted universe multiverse
deb-src bionic-proposed main restricted universe multiverse
163源
deb bionic main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb bionic-proposed main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
deb-src bionic main restricted universe multiverse
deb-src bionic-security main restricted universe multiverse
deb-src bionic-updates main restricted universe multiverse
deb-src bionic-proposed main restricted universe multiverse
deb-src bionic-backports main restricted universe multiverse
清華源
deb bionic main restricted universe multiverse
deb-src bionic main restricted universe multiverse
deb bionic-updates main restricted universe multiverse
deb-src bionic-updates main restricted universe multiverse
deb bionic-backports main restricted universe multiverse
deb-src bionic-backports main restricted universe multiverse
deb bionic-security main restricted universe multiverse
deb-src bionic-security main restricted universe multiverse
deb bionic-proposed main restricted universe multiverse
deb-src bionic-proposed main restricted universe multiverse
4、更新源命令sudo
apt-get update
sudo
apt-get upgrade
ubuntu18 04版本Darket安裝說明
sudo apt get update 英偉達顯示卡驅動向下相容,所以只需要安裝最新驅動即可。執行 ubuntu drivers devices 顯示推薦的英偉達驅動 執行apt安裝驅動即可完成驅動安裝 sudo apt get install nvidia sudo gedit etc profi...
Ubuntu 18 04版本設定root賬戶
linux系統下檔案的許可權十分重要,大多數操作都需要一定的許可權才可以操作,ubuntu18.04預設安裝是沒有設定root賬戶的,因此想要獲得root賬戶登入可以使用以下步驟 1.首先獲得臨時的root許可權,因為後面的一些操作需要root許可權才可以,開啟終端輸入以下命令 sudo s之後直接...
Ubuntu18 04版本設定root賬戶
linux系統下檔案的許可權十分重要,大多數操作都需要一定的許可權才可以操作,ubuntu18.04預設安裝是沒有設定root賬戶的,因此想要獲得root賬戶登入可以使用以下步驟 1.首先獲得臨時的root許可權,因為後面的一些操作需要root許可權才可以,開啟終端輸入以下命令 sudo s 之後直...