Cygwin Install - Net

Warning:

The use of Cygwin is no longer supported at LEPP. If you need a Linux environment, use a Linux computer. The information below is retained strictly for historical reasons.



Instructions for installing Cygwin on Windows. The most up to date information can be found at http://www.cygwin.com.

Please refer to XFree86 for instructions on running various X sessions.

PLEASE NOTE! if you modify user information on your windows machine after performing the original cygwin installation, you must mkpasswd to synchronise cygwin with your windows user accounts and passwords. To do this, from a cygwin bash shell type mkpasswd -l > /etc/passwd to synchronize cygwin with your local user accounts, and mkpasswd -d to synchronize Cygwin with the domain user accounts


Part 1 – Installing Cygwin

cyg_page.JPG
  • Double-click on setup.exe.
cyg_setup.JPG
  • Click Next.
cyg_1.JPG
  • Select Install from Internet, and click Next.
cyg_2.JPG
  • Select the default root directory, C:/cygwin, All Users and Unix, and click Next.
cyg_3.JPG
  • Select the local package directory where you would like to save the installation files, and click Next.
cyg_4.JPG
  • Select Direct Connection, and click Next.
cyg_5.JPG
  • Choose the Download Site that you would like to download Cygwin from. I usually choose either the NASA or MCS (ftp://mirror.mcs.anl.gov) mirror.
cyg_6.JPG
  • Select the packages you would like to install by clicking on the two arrows to the right of each package name. If you have enough space on your "C:" drive, click on the arrows to the right of All to install every package.
cyg_7.JPG
  • Click Next.
  • Click Finish.
  • Click OK.

Part 2 - Adding Users

After installing Cygwin, you must synchronize /etc/passwd with your Windows usernames and passwords. This will ensure that cygwin recognizes you as your Windows username.
  1. From a Cygwin command prompt, type mkpasswd -d LNSNTCAD > /etc/passwd. This will synchronize Cygwin with the LNSNTCAD usernames and accounts. In addition, this will make each users home directory their personal directory on PC50. For example, after running this command, my home directory becomes \\pc50\users\dab66
  2. Alternatively, mkpasswd -l > /etc/passwd will synchronize Cygwin with any local user accounts you have on your system.

Topic attachments
I Attachment ActionSorted ascending Size Date Who Comment
cyg_1.JPGJPG cyg_1.JPG manage 32 K 18 May 2006 - 17:00 UnknownUser  
cyg_1.gifgif cyg_1.gif manage 74 K 30 Jun 2005 - 10:32 UnknownUser  
cyg_2.JPGJPG cyg_2.JPG manage 22 K 18 May 2006 - 17:10 UnknownUser  
cyg_2.gifgif cyg_2.gif manage 74 K 30 Jun 2005 - 10:32 UnknownUser  
cyg_3.JPGJPG cyg_3.JPG manage 45 K 18 May 2006 - 17:10 UnknownUser  
cyg_3.gifgif cyg_3.gif manage 72 K 30 Jun 2005 - 10:32 UnknownUser  
cyg_4.JPGJPG cyg_4.JPG manage 22 K 19 May 2006 - 09:03 UnknownUser  
cyg_4.gifgif cyg_4.gif manage 73 K 30 Jun 2005 - 10:32 UnknownUser  
cyg_5.JPGJPG cyg_5.JPG manage 22 K 19 May 2006 - 09:03 UnknownUser  
cyg_5.gifgif cyg_5.gif manage 74 K 30 Jun 2005 - 10:32 UnknownUser  
cyg_6.JPGJPG cyg_6.JPG manage 34 K 18 May 2006 - 17:10 UnknownUser  
cyg_6.gifgif cyg_6.gif manage 60 K 30 Jun 2005 - 10:33 UnknownUser  
cyg_7.JPGJPG cyg_7.JPG manage 38 K 19 May 2006 - 08:48 UnknownUser  
cyg_7.gifgif cyg_7.gif manage 47 K 30 Jun 2005 - 10:33 UnknownUser  
cyg_7a.gifgif cyg_7a.gif manage 30 K 30 Jun 2005 - 10:33 UnknownUser  
cyg_7b.gifgif cyg_7b.gif manage 22 K 30 Jun 2005 - 10:33 UnknownUser  
cyg_7c.gifgif cyg_7c.gif manage 32 K 30 Jun 2005 - 10:33 UnknownUser  
cyg_7d.gifgif cyg_7d.gif manage 7 K 30 Jun 2005 - 10:33 UnknownUser  
cyg_7e.gifgif cyg_7e.gif manage 9 K 30 Jun 2005 - 10:34 UnknownUser  
cyg_7f.gifgif cyg_7f.gif manage 20 K 30 Jun 2005 - 10:34 UnknownUser  
cyg_page.JPGJPG cyg_page.JPG manage 73 K 19 May 2006 - 09:03 UnknownUser  
cyg_page.gifgif cyg_page.gif manage 72 K 30 Jun 2005 - 10:34 UnknownUser  
cyg_setup.JPGJPG cyg_setup.JPG manage 8 K 19 May 2006 - 09:03 UnknownUser  
cyg_setup.gifgif cyg_setup.gif manage 10 K 30 Jun 2005 - 10:34 UnknownUser  
short.batbat short.bat manage 597 bytes 07 Jul 2005 - 14:27 UnknownUser  
short.shsh short.sh manage 146 bytes 07 Jul 2005 - 14:27 UnknownUser  
This topic: Computing > WebHome > CygwinInstallNet
Topic revision: 16 Feb 2012, seb
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CLASSE Wiki? Send feedback