新裝的系統18.x版本提示沒有vi,
sudo apt-get update
sudo apt-get upgrade
使用阿里源
備份/etc/apt/sources.list # cp /etc/apt/sources.list /etc/apt/sources.list.bak
在/etc/apt/sources.list檔案前面新增如下條目
#新增阿里源
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
最後執行如下命令更新源
sudo apt-get update
sudo apt-get upgrade
新裝系統沒有vi和vim # 此時無法進行編輯
備份/etc/apt/sources.list # cp /etc/apt/sources.list /etc/apt/sources.list.bak
rm sources.list # 刪除原始檔
echo "deb bionic main restricted universe multiverse" > sources.list # 新建原始檔並寫入內容
最後執行如下命令更新源
sudo apt-get update
sudo apt-get upgrade
安裝vim
apt-get install vim
cp sources.list.bak sources.list # 複製備份的原始檔至當前目錄並改名
vi編輯器異常
ubuntu預裝的是vim tiny版本,而需要的是vim full版本
sudo apt-get remove vim-common
sudo apt-get install vim
公升級依賴關係
sudo apt-get install -f
安裝qq
git clone
./install.sh # 安裝deepin環境
dpkg -i 包名# 安裝團建
Ubuntu基本配置
sudo gedit etc hosts sudo update grub sudo apt get install ttf wqy microhei sudo gedit etc fonts conf.d 69 language selector zh cn.conf zh cn serif we...
ubuntu基本配置
1 預設ubuntu安裝的vim是tiny版本,需要解除安裝然後安裝完全版 sudo apt get remove vim common sudo apt get install vim 2 ubuntu預設不開啟root,可以用 sudo passwd root 然後給root修改輸入新密碼 2....
Ubuntu的基本配置
ubuntu的基本配置這裡博主用ubuntu單獨安裝在一台電腦上。啟動refus,選擇mbr方式,開始 重啟電腦,u盤快速啟動 dell f12 按流程來即可,注意先不要聯網,因為內建的軟體源在國外 先複製清華軟體源,再執行如下命令 sudo mv etc apt sources.list etc ...