vote up 0 vote down star

I have managed to install the Cygwin on my windows vista machine. I installed using the default settings.

When i try to do vi on the bash shell, bash tells me command not found. I believe i need to install the Cygwin editors package which include the VI editor. The nightmare is every time i run the Cygwin setup and select ONLY the editors package and specifically the VIM and select install, Cygwin setup tries to install all other packages, very frustrating!!

Is there an easier way of installing just a single package using the Cygwin setup utility?

Gath

flag
2  
Consider working on that accept rate. – Sinan Ünür Nov 13 at 12:37
1  
And now that it's over here on SU, maybe we can get it voted up again :-) – paxdiablo Nov 13 at 12:47

migrated from stackoverflow.com

1 Answer

vote up 5 vote down

There is a reason Cygwin also selects those other packages: vi (vim) depends on them. If you really don't like this, you'll have to build/find a statically linked version of vim, or just use a different version altogether, e.g. download the Windows executable from vim.org.

link|flag
Does it mean VIM depends on all the packages in installation? – gath Nov 13 at 12:36
No, it depends on those packages which are automatically marked for installation when you mark vim for installation. Of course, it is very likely that it also depends on some other packages which are already (by default) installed. – Stephan202 Nov 13 at 12:42
1  
Those other packages may also depend on even more packages. I tend to install either all of Cygwin or none of it. If I want specific tooling, I use GnuWin32 (or, in your case, gVim). – paxdiablo Nov 13 at 12:45

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.