Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 08:34
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to install Vim package from Slackware
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message
bwongchaowart

Joined: 08 Aug 2005
Posts: 8
Location: Pennsylvania

PostPosted: Mon 08 Aug 2005, 02:43    Post_subject:  How to install Vim package from Slackware  

This may seem like trivial information to experienced Linux users but this post would have saved me some time and trouble, so it might help someone else.

Some time ago JohnMurga posted an older version of Vim compiled with minimal features
(http://www.murga.org/~puppy/viewtopic.php?t=53&highlight=vim). The advantage of that, naturally, was a small binary, but since I love Vim, I wanted an up-to-date version with a richer feature set. I don't have a compiling environment for Puppy set up (that would, of course, be best), so I downloaded the latest Slackware Vim package. At the moment this is version 6.3, patch level 85, compiled two weeks ago. I got this from http://mirrors.usc.edu/pub/linux/distributions/slackware/slackware-current/slackware/ap/vim-6.3.085-i486-1.tgz.
It needed libgpm (http://mirrors.usc.edu/pub/linux/distributions/slackware/slackware-current/slackware/a/gpm-1.19.6-i486-6.tgz).

Installation was self-evident: I put libgpm.so.1.18.0 into /usr/lib/ and the Vim executable into /usr/bin/. To save space, I placed the Vim runtime files into a squashfs which I mounted onto /usr/share/vim/. Then I needed to make a symbolic link from /usr/lib/libgpm.so.1 to /usr/lib/libgpm.so.1.18.0.

For some reason the default history setting was 0, which meant that there was no command line history, so I had to add "set history=20" to .vimrc. (I haven't checked the other settings yet -- adjust as necessary.) Otherwise, it seems to work, although I haven't tested it rigorously. I'm using Puppy version 1.0.4 and the library versions are not exactly the same as Slackware's; I don't know if this is a problem but Vim hasn't done anything unexpected yet.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0384s ][ Queries: 11 (0.0035s) ][ GZIP on ]