一、安裝vim
apt-get install vim
複製代碼
若是顯示bash
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package vi
複製代碼
則須要執行ui
apt-get update
複製代碼
二、而後再執行spa
apt-get install vim
複製代碼