Ubuntu14.04 install VIM shows no packages available VIM-GTK

Source: Internet
Author: User
Tags gtk
Solve the problem of the original URL: http://m.blog.csdn.net/blog/zuisuozhe/37600293, I do the original content to edit, please forgive the original author.
problem : I Ubuntu14.04 under the installation of VIM-GTK encountered the following problems:

$ sudo apt-get install VIM-GTK reading package list ... Complete
Analyzing Dependency tree for Package
Reading status information ... Complete
There is no available package vim now, but it is referenced by other packages.
This may mean that the missing package may have been discarded,
Or can only be found in other publishing sources

E: Package Vim does not yet have a candidate to install
Workaround: (Connected network premise) step one: In the terminal input command: sudo apt-get update && sudoo apt-get upgrade Explanation: Update = = Updates Package List upgrade = Upgrade Department All software packages in the EC step two: Online installation vim, in the terminal input command: sudo apt-get install VIM-GTK
Additional knowledge: Vim is an enhanced version of the text editor developed from VI. When you use Vim to edit a file in the C program language, VIM automatically invokes the program's syntax judgment based on the file's extension or the initial information in the file, and then a color to display the program code and general information. In other words, this vim is a "program editor", even some Linux basic configuration files in the syntax, can be checked with vim. VI compiler in the BACKSPACE key and the direction of the key and Windows inconsistent, which will also cause trouble programming, so it is recommended to use the Vim editor.

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.