1. first uninstall the old version of vim # rpm-qa | running 3. # cdvim73/4. run the command as shown in... 1. first uninstall the old version of vim
# Rpm-qa | grep vim
Check whether to uninstall the four packages in the old version.
# Rpm-e rpmname (rpmname is the packages found in)
2. decompress the compressed package
# Tar jxvf vim-7.3.tar.bz2
3. # cd vim73/
4. run the following command:
#./Configure -- prefix =/usr/local -- enable-multibyte -- with-features = big -- disable-selinux
An error may be reported. The ncurses package is missing and the image is installed.
Solution:
[Root @ localhost Server] # ls * ncur *
Ncurses-5.5-24.20060715.i386.rpm php-ncurses-5.1.6-15.el5.i386.rpm
Ncurses-devel-5.5-24.20060715.i386.rpm
Install the red package.
[Root @ localhost Server] # rpm-ivh ncurses-5.5-24.20060715.i386.rpm
5. # make
6. # make install
7. # vim
Now we can see your installed vim7.3.
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