Cygwin is a command line interface with Unix-like environment for Microsoft Window. PuTTY is an application which is used for Telnet, SSH, client, raw TCP and rlogin protocols. It is also used as “serial console” client.TTY stands for Teletype; Cygwin helps in launching Windows applications for The Cygwin environment. Sep 29, 2014 Cygwin is a free and open source software with tons of optional packages which lets you run and execute the age-old Unix-like commands right in your Windows system. Do note that it can’t be used to run any Linux/Unix software though. The Cygwin project is a collection of the most common tools and compilers (including the bash shell and the GNU compiler chain) for Windows. It also includes a library that provides a compatibility layer so that programs which call Linux specific APIs can be compiled. To setup a Cygwin SSH proceed with the following. Login as Administrator. Windows XP - login as a user with Administrator privilege; Windows 2003 Server - login as local admin, it will not work for domain users or domain admin. Make sure the current admin/user has a Windows password set. If not, use the Control Panel-User Accounts to create a. Cygwin will need at least 2GB of disk space to download and an additional 4GB of disk space to install. If you don't have more than 2GB of free disk space on your C: drive, you need to create the 'Cygwin Setup' folder somewhere else. Go to your Desktop, click open the Cygwin Setup folder and click on setup-x8664.exe. If you get a screen asking.
This guide was tested under Windows 10. It should be work with other supported Windows Versions too.


Install Cygwin (without admin rights)¶
This documentation is based on Oliver Doepner's IT blog. Thank you for your work Oliver.
- Download setup-x86_64.exe.
- Open command line window (WIN+R and type
cmd
). - Go to the download directory, e. g.:
- Run setup-x86_64.exe with the
--no-admin
option: - During installation select the
wget
package. - After installation open a Cygwin Terminal via Windows desktop shortcut.
- If you are behind an internet proxy (for example on a company environment) create
/etc/profile.d/proxy.sh
for internet access: - Now you need a file called
/usr/local/bin/cyg-get
. Downlaod it viaAlternatively, you can also create the file yourself. - Make the script executable:
- On the Windows desktop create a copy of the Cygwin terminal shortcut, rename it Cygwin Setup.
- Edit the shortcut target, replace:with
- Now test it and execute the desktop shortcut or run cyg-get from the Cygwin commandprompt.
Cygwin Package Management¶
With the created script /usr/local/bin/cyg-get
you can do package management on command line like in a linux environment. Alternatively, you could also use the pure command-line tool apt-cyg.
Install packages¶
Cygwin Install
Remove packages¶
Update all packages¶
Cygwin Vs Mingw
Note
Cygwin.com
The update
option will first download a new version of setup-x86_64.exe
and after that all packages will be updated.