Thursday, 26 December 2013

can't install vim to my new Ubuntu 12.04 安装不了vim

新装了一个ubuntu 12.04,缺发现安装不了VIM

Code:

sudo apt-get install vim

错误信息:

E: Package 'vim' has no installation candidate


使用以下方案解决问题:
先运行下 
Code:
sudo apt-get update
应该是更新源信息,然后再运行

Code:

sudo apt-get install vim

成功!

-------------------------------------------------------------------------------------
I could not install vim to my new ubuntu 12.04

Code:

sudo apt-get install vim

can't install vim, got the error message:

E: Package 'vim' has no installation candidate


If you have only just installed Ubuntu, you need to run the following first:
Code:
sudo apt-get update
Then try installing vim again

Code:

sudo apt-get install vim

succeed!

No comments:

Post a Comment