LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2006, 07:22 PM   #1
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371

Rep: Reputation: 30
Unhappy 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.
 
Old 10-15-2006, 07:50 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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.
 
Old 10-15-2006, 07:51 PM   #3
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371

Original Poster
Rep: Reputation: 30
Yeah but I don't have root privileges.
 
Old 10-15-2006, 11:18 PM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
without root you will not be able to install it anyways.
 
Old 10-16-2006, 05:50 AM   #5
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
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
 
Old 10-16-2006, 06:01 AM   #6
psisquare
Member
 
Registered: Sep 2004
Location: Germany
Distribution: Gentoo
Posts: 164

Rep: Reputation: 31
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.
 
Old 10-16-2006, 06:01 AM   #7
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371

Original Poster
Rep: Reputation: 30
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.
 
Old 10-16-2006, 06:28 AM   #8
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by psisquare
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.
Hey! Hi! Thanks! That did the work. Now I am working on Vim 7.0. There is yet another problem though gvim is not working I will post any solution if I find 'em.
 
Old 10-16-2006, 01:07 PM   #9
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by anupamsr
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.
that is awesome that there is a convert from rpm to tar. very useful. sorry when i stated that you could not install the rpm you have to be root to install rpm -ivh IIRC, but i have not used an rpm based distro in a long time where i did not have root access and install everything via YUM.

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.
 
Old 10-16-2006, 09:16 PM   #10
ltordsen
LQ Newbie
 
Registered: Aug 2005
Distribution: suse 9.3
Posts: 16

Rep: Reputation: 0
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.
 
Old 10-17-2006, 04:20 AM   #11
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371

Original Poster
Rep: Reputation: 30
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.
 
Old 10-17-2006, 07:57 AM   #12
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371

Original Poster
Rep: Reputation: 30
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
 
  


Reply

Tags
binary, compile, ncurses, vim



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Vim tips: Using Vim mappings and abbreviations LXer Syndicated Linux News 0 06-18-2006 01:54 PM
LXer: Cream for Vim - Making Vim more user friendly LXer Syndicated Linux News 0 06-17-2006 11:54 PM
Precompiled gcc? Alotau Linux - Software 3 06-20-2005 01:40 PM
Qt precompiled networkdevo Red Hat 1 08-30-2003 11:51 PM
i need precompiled phant0m Linux - Software 1 08-22-2003 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration