To install vim on your CentOS 5.8 go to your cd or mount your ISO(If you don't know how to mount ISO on linux, go to my tutorial how to > Mounting ISO on CentOS 5.8 )
Locate the folder CentOS inside your dvd/cd/iso and look for the vim-enhanced and vim-common:
ls -la | grep vimThen install the vim-common first:
rpm -ivh vim-common-7.0.109-3.el5.3.i386.rpmThen install the vim-enhanced:
rpm -ivh vim-enhanced-7.0.109-3.el5.3.i386.rpmYou can now use vim in your CentOS 5.8 using the vim command.
vim /home/user/somefile.txt
No comments:
Post a Comment