How to compile and install vim

Source: Internet
Author: User
Vim compilation and installation method 1. first download the vim73 installation package on the official website. Vim-7.3.tar.bz22. ssh or ftp via tools such as xmanager or putty to linux operating systems (I use Redhatenterprise5.0 myself ). 3.decompress the tar-jxvfvim-7.3.tar. bz... vim compilation and installation method 1. first download the installation package of vim73 on the official website. Vim-7.3.tar.bz22. ssh or ftp via tools such as xmanager or putty to linux (I am using Redhat enterprise 5.0 myself ). 3. extract tar-jxvf vim-7.3.tar.bz2-j unzip command (*. -f specifies the unzipping file-z unzipping command (*. zip) for -- gzip, -- gunzip, -- ungzip4. run. /configure -- prefix =/soft-setup/vim -- enable-multibyte -- with-vim-name = vi -- with-features = huge -- disable-selinux -- prefix: customize the vim installation directory. -- Enable-multbyte: supports multiple encodings -- with-vim-name = vi: which programs will call vim applications. We set it to vi -- with-features = huge: sets the maximum usage feature. -- Disable-selinux: Don't check for SELinux support does not require SELinux support for verification. 5. use. /configure -- prefix =/soft-setup/vim -- enable-multibyte -- with-vim-name = vi -- with-features = huge -- disable-selinux configuration may cause errors. In linux, the following error occurs: checking 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. the cause of this error is that the appropriate ncurse library cannot be found in the system. There is an rpm package in the image file (. iso or dvd disk) of the current system. We can find the ncurses-devel-5.5-24.20060715.i386.rpm package under/media/RHEL_5.5 i386 DVD/Server. (Tip: I have installed ncurses-5.5-24.20060715.i386.rpm locally) 6. install ncurses-devel-5.5-24.20060715.i386.rpm package rpm-ivh ncurses-devel-5.5-24.20060715.i386.rpm-i: Show Package Overview-l: Show package file list in package-d: Show Document file list-v: show Additional Information-h: output the hash mark ('#') during installation before execution. /configure -- prefix =/soft-setup/vim -- enable-multibyte -- with-vim-name = vi -- with-features = huge -- disable-selinux7. run make8. under vim73 and then, make install
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.