How to Put Cygwin on a Windows Computerk
- Go to the URL
http://www.cygwin.com
- Click on Install or upgrade
now!
- Save the file "setup.exe", then double-click on it to run it
- Click the Run button
- Click the Next button
- Select Install from Internet, then click the Next button
- Use C:\cygwin as the root directory, select All Users, then click the Next button
- The default location is probably fine for the Local Package Directory. Click the Next button
- Select Direct Connection, then click the Next button
- Select a nearby site as the available download site (e.g., http://www.gtlib.gatech.edu), then click the Next button
- In the Search bar, enter gcc4. In the Develop
tab, make sure gcc4-core and gcc4-g++ are selected.
- In the Search bar, enter openssh. In the Net
tab, make sure openssh is selected.
- In the Search bar, enter vim. In the Editors
tab, make sure vim is selected.
- In the Search bar, enter rxvt. In the Shells
tab, make sure rxvt is selected.
- If you want to use the tcsh shell rather than the bash
shell, in the Search bar, enter tcsh. In the Shells
tab, make sure tcsh is selected.
- Click the Next button
This will install Cygwin on your computer. It should put an Cygwin icon on
your desktop.
If you double-click on the Cygwin icon, you will get a Cygwin shell which is
not very friendly to use. You can replace the default Cygwin shell with the
rxvt shell be modifying the file C:\cygwin\Cygwin.bat.
If you want to use the bash shell, modify the file to look like this:
@echo off
C:
chdir C:\cygwin\bin
REM bash --login -i
C:\cygwin\bin\rxvt.exe -sl 1500 -fn "16-Lucida Console-12" -bg white -fg black -sr -e /usr/bin/bash --login -i
I prefer the tcsh shell. If you want to use the tcsh shell, modify the file to look like this:
@echo off
C:
chdir C:\cygwin\bin
REM bash --login -i
C:\cygwin\bin\rxvt.exe -sl 1500 -fn "16-Lucida Console-12" -bg white -fg black -sr -e /usr/bin/tcsh -l
Now when you click on the Cygwin icon, you should get the rxvt shell.
You can modify the rxvt shell to change the foreground and background
colors, the font used, etc. For example, see this web site:
HREF=http://infrablue.tripod.com/cygwin.html
http://infrablue.tripod.com/cygwin.html