Ubuntu12.04 install vim7.3

Source: Internet
Author: User
Ubuntu is a newbie who just started to use Linux to install vim7.3. vim can be directly installed in the Ubuntu Software Center. I personally think that is no different from windows, use vim to learn how to compile and install Linux, and record it. There are many installation methods in Linux, not many here... for new users who have installed vim 12.04 in Ubuntu 7.3 and have just started using Linux, the Ubuntu Software Center can directly install vim. I personally think that is no different from windows, use vim to learn how to compile and install Linux, and record it.
There are many installation methods in Linux. I will not talk about them here. let's start: 1. to the official website http://www.vim.org/download.php#unix download vim-7.3.tar.bz2 Package 2. open the terminal, extract through the command line, enter the tar jxf vim-7.3.tar.bz2 will generate the vim73 folder under the current directory 3. enter cd vim73cd src on the terminal. /configure will generate the MakeFile file www.2cto.com 4 in the/vim73/src directory after the previous steps. enter sudo makesudo make install in the/src directory to complete the compilation and installation.
Note: The following problems may occur during the make process:
No terminal library foundchecking for tgetent ()... Configure: error: not found! You need to install a terminal library; for example ncurses. Or specify the name of the library with-with-tlib.ncurses is an older library
Solution: sudo apt-get install libncurses5-dev 5. enter sudo apt-get install vim-gnome and enter vim in the/src Directory. modify the path to 6. add the software location to the environment variable PATH = $ PATH:/usr/local/bin. in this way, enter vim on the terminal to directly access the vim configuration, you can set it based on your needs.
Author Huan Chuanjian

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.