安装VIMapt-get install vim如果提示:Reading package lists… DoneBuilding dependency treeReading state information… DoneE: Unable to locate package vim先升级一下:apt-get update然后再执行安装