VIM installation on Red Hat Enterprise Linux 5
Hello,
I have installed RHEL 5 on my system. I want to use VIM editor. Please guide me from where i should download its rpm and steps to install vim editor on "red hat 5". If it needs any dependencies then also please suggest me which are those and how to install them. Thanks in advance for consideration. |
Simply:
Code:
yum install vim |
Thanks for your reply. I tried your suggestion but it gives me following error.
Please guide me from where should i download rpm of vim (enhanced, common , minimal)and its dependencies for "Red Hat Enterprise Linux 5" [root@localhost admin]# yum install vim Loading "security" plugin Loading "installonlyn" plugin Loading "rhnplugin" plugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Setting up repositories No Repositories Available to Set Up Reading repository metadata in from local files Parsing package install arguments Setting up repositories No Repositories Available to Set Up Reading repository metadata in from local files No Match for argument: vim Nothing to do [root@localhost admin]# |
The error is self-explanatory: you must contact Red Hat and register your system.
https://access.redhat.com/home |
This is not solution to my problem because i am using the RHEL 5 in virtual machine. Also yum is not the only way for installation.
I have installed other softwares too using rpm/binaries but i haven't exact get rpm for VIM(enhanced, common , minimal)and its dependencies for "Red Hat Enterprise Linux 5". Please guide me about it. |
The fact it is a virtual machine does not negate the need to register your Red Hat system. If you do not have the budget for a Red Hat subscription then I recommend you switch to the free CentOS distribution.
|
We are getting away from our main point of discussion. I am fine with the system which i have right now. The main issue is that i want to install VIM on my machine. If you know the source and steps of instalation of VIM on RHEL 5 then please help me.
|
Quote:
2. yum install vim That is the quick, easy, supported, stable, and recommended method. (Other non-recommended methods may exist, I wouldn't know! ;)) |
@milind.t.patil: When it comes down to it it is your choice what you run on your computer, but....
It looks like you are asking us to participate in something that borders(??) on being illegal. This from the rules: Quote:
If you want to install vim and not use rhn (for whatever reason): get the vim rpm, get all the rpm's that are needed to satisfy the dependencies and install them in the correct order. I think this is about as far as we can go. |
Quote:
http://www.vim.org/ Really, the best solution would be for you to install CentOS, which is essentially RHEL, but FREE, and gives you access to the online repos for free too. |
Hey druuna , calm down. I have registered Linux on my laptop, but i can not use that one because it has some h/w problem so i send it to for repair. But i can not stand still and stop my work. One of my friend suggest me about VM. That's why i installed RHEL 5 in VM on my desktop temporarily. But as i am unable to use VIM that's why i seek to my favorite forum LQ to get out of me from this trouble. I thought i need not to explain the background of my problem that's why i directly asked about its installation. That's why i said we are getting away.
I have no option other than install rpm manually, but i don't get exactly which rpms are to be installed for RHEL 5 on net even i don't get/understand it from vim.org . Because there are hell lot of rpm on it. So i expect the which rpm for VIM (enhanced,common,minimal)and rpm for its dependencies are needed to install. Please help me to get it. Thanks for your replies guys. |
It might have helped if you posted that in the first post
manually grab the rpms rpmforge should have it BUT it is VERY VERY incompatible with RHEL5 ( mostly fixed for rhel6 ) "yum-priorities" or "yum-protectbase" ARE NEEDED - and that is in RHN ) rpmforge WILL replace critical system files with different ones ( and you will not be compatible with RHN ) if you want to take a chance install the rpmforge repo and use yum for i386 http://packages.sw.be/rpmforge-relea...l5.rf.i386.rpm for x86_64 http://packages.sw.be/rpmforge-relea....rf.x86_64.rpm ---- then the security hash --------- Code:
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt http://wiki.centos.org/AdditionalRes...11404998926a1b then install vim ( well search for vim , but it "should" be there" ) take EXTREME care RF is incompatible with RHN and almost all of the other repos |
Quote:
Quote:
|
If you have the Installation media (DVD/CD), you can also install from there via yum. I'm surprised its not already installed; its one of the most basic pkgs.
Have you checked your PATH? Code:
which vim |
Ether vi or nano "should" be installed by default
If all one needs to do is basic editing of text files from the terminal then "nano" is a good tool It is a nice basic editor . |
All times are GMT -5. The time now is 04:26 PM. |