Ubuntu installation Vim

Source: Internet
Author: User

I. Source of the problem

After the Ubuntu system is installed, enter the command in the terminal: sudo apt-get install vim, and after you type the root password, the system prompts you not to install Vim errors. Then follow the error prompts, change the Vim type type command: sudo apt-get install vim-gnome, but still error.

After attempting to do nothing in the above method, use the command: sudo apt-get update command to update the software. After following the new completion, re-enter the sudo apt-get install vim, the system still prompts failed.

Second, the problem solution

Search the Internet to "home of the System" an article titled "Ubuntu can not install vim what to do?" After the article, follow its instructions to step through and finally successfully install a successful Vim editor under Ubuntu.

(1) Uninstall Vim-commomn Dependency Package:$ sudo apt-get remove Vim-common

(2) Reinstall vim:$ sudo apt-get install vim

Three, the question ponder summary

In some unstable (unstable) Ubuntu distributions, the system comes with a vim-common that is not suitable for the Vim-common required to install VIM, i.e. the system comes with a Im-common version that is too low, causing the required vim to be installed without support. At this time, VIM can be used normally as long as the original system comes with a lower version of Vim-common and then re-installs VIM (which will bind the Vim-common when fitted).

  

  

  

Ubuntu installation Vim

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.