How do I install the vi text editor ONLY on my Cygwin installation?
Solution 1:
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.
Solution 2:
- Start Setup, select a mirror, and get to the packages screen
- Select "Keep" from the radio button list at the top -- this will prevent setup from updating other packages that have a new version.
- Select the "vi" under "Editors"
- Select "continue."
This should install only vi and its dependencies.
Solution 3:
Setup.exe doesn't install everything unless you ask it to. What it does do by default is to mark for update any packages that you already have installed and of which newer versions are available. If you don't want that, select the 'Keep' button near the top right of the package selection screen before you select vim.