Added vim package on Solaris 10, how do I run it now?

Hi everyone,

Running Solaris 10 with root access.

I downloaded vim from the the Sun.com freeware for Solaris 10 page (read: THIS site, not solarisfreeware.com, vim.com or another external site). I first downloaded the dependency packages bundle, extracted the packages, and installed all the packages it via pkgadd -d. They all reported to be a "successful" install.

Then I downloaded the "vim" package from the same site, extracted the package, and likewise installed it with pkgadd (the command was "pkgadd -d SFWvim.pkg". The system reported the installation to be a success, and the path it was adding files to was "/opt/sfw/share/vim/vim63".

That's the step I am at now. I did not do anything else after this point.

OK, the question is, what do I do NOW to be able to run it? Typing "vim" into the console returns "vim: not found". man vim doesn't give anything either.

Where would the actual executable be? How would I have to run it, and under what shell? Are there any "path" variables I need to add, and how would I do it?

All the documentation I found in the /doc folder and online only explain how to use vim once it's running, not how to run it in the first place.

I'm new at using Unix OS in general, so please be detailed (don't just tell "add path X" but please explain how, step by step.

Thank you very much!

[1390 byte] By [Elvarga] at [2007-11-27 11:16:24]
# 1

Mostly your installation would have happened at /usr/local/bin/ so just include this in the path. export PATH=/usr/local/bin/:$PATH.

rathi

rathia at 2007-7-29 14:18:56 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

couple of things, first if you are new I would suggest using pkg-get from sunfreeware.com or blastwave.org. That will solve dependencies for you.

Second, I do not mess with the path on vim I normally just rename vi in the /usr/bin to sunvi and then create a link to the vim binary called vi in the /usr/bin folder.

my vim is in /opt/csw/bin so this is what I do to create the link.

ln -s /opt/csw/bin/vim /usr/bin/vi

Pretty simple.

kjard_usa at 2007-7-29 14:18:56 > top of Java-index,Solaris Operating System,Solaris 10 Features...