Precompiled VIM
Hi!
I am working on a system which has a very stripped version of VIM installed. It is not for compilation stuff, and even ncurses is not installed, which means I cannot compile VIM. Is it possible to get binaries for VIM. Even old version will do, I all I want is to run it from my home directory. |
well as you are running SuSe 9.3 then YaST should have VIM for you, or just do a rpm search for suse 9.3 vim and you should find that too.
|
Yeah but I don't have root privileges.
|
without root you will not be able to install it anyways.
|
that is wrong. as he said, he will have to install under home though. if you get an rpm you could extract its contents( ~/apps/vim ?) and see if it runs. if not try to emulate the steps the attached scripts would have done. you may also want to add e.g. ~/apps/vim/bin to your $PATH. good luck
|
You could try grabbing a Slackware package like
http://packages.slackware.it/package...7.0.109-i486-1 or, thinking about dependencies, maybe better http://packages.slackware.it/package...vim-6.1-i386-5. These are simple tar.gz files, so you should be able to decompress them into your home directory. I haven't tried this though, so no guarantees as to whether it will work. And you don't need root privileges in order to install stuff into your home directory - it's just that if you run into many missing dependancies, it might be easier to prod your admin about updating/adding them using YaST. |
Here is a nice link for precompiled binaries. Wonder why they are so unupdated though. http://www.nirvani.net/software/vim/
Downloading rpm from this site and then using http://slackware.osuosl.org/slackwar.../bin/rpm2targz to convert it to a tar ball, and then extracting it and adding it to the PATH did the thing. Though it complains of not finding some libraries, it is more or less, working. Thanks erklaerbaer & lleb for your help. |
Quote:
|
Quote:
as for gVIM, didnt that get depreciated a while back? i thought it did in CentOS at least, i know you are using SuSe so not sure if gVIM still works in that or not. |
Maybe you could try try vim -g.
If it says E25: GUI cannot be used: Not enabled at compile time, it might be in /usr/X11R6/bin. If its there and not in your PATH, then add it to your path. |
Gvim is not deprecated, as rpms are available for gvim-7.0 on internet. Vim is not compiled with GUI and that is the main problem why I want to compile my own/use some binary.
|
There, there, I arrived on a totally new solution.
1. Download ncurses and untar it. 3. mkdir /usr/stud/srivasta/downloads/usr 2. ./configure --prefix=/usr/stud/srivasta/downloads/usr/ 3. make && make install 4. Download latest vim and untar it 5. export CPPFLAGS=-I/usr/stud/srivasta/downloads/usr/include/ncurses 6. export LDFLAGS=-L/usr/stud/srivasta/downloads/usr/lib 7. ./configure --prefix=/usr/stud/srivasta/downloads/usr --with-tlib=ncurses 8. make && make install And lo, you have your own local installation of VIM 7.0 with GUI :) |
All times are GMT -5. The time now is 10:30 PM. |