How to Install CygWin on Windows PC

Cygwin is a collection of linux tools that can be used on Windows.

Cygwin is a "virtual environment" for commands in the Linux Console to run on Windows. 

What are the most notable benefits with Cygwin? If you are a network admin or Linux programmer, then the benefits of Cygwin will make our activities easier without having to switch to Linux. 

For example, editing files with Vim Editor, Remote Server with SSH or compiling programs with GCC. In my own case, Cygwin was installed as a prerequisite in the Android NDK installation. Android NKD is a development tool from Google that is used to create Android applications in C++ or C.


Step by step installation of CygWin on Windows

1. Download the Cygwin installer at https://cygwin.com/install.html. Pay attention to the OS you are using, if you are using Windows 64bit, it is recommended to use setupx86_64.exe. 

This is a stub installer, this installer will ask for internet connection so it can install the required linux commands. So make sure during installation you have internet connection.


2. Run setup.exe earlier and select the nearest mirror. If we are in Indonesia, the closest is a server in Singapore (domain ending in .sg).


3. When selecting packages to install, select default. Click next


4. Wait for the installation to complete. With Default Settings, the installation ranges from 15 -30 Minutes.

CygWin


5. When finished please open a shortcut on the desktop with the name cygwin terminal. Try giving the command like in linux. If there is a command that is not found, it means that the command has not been installed.

CygWin windows


How to update/add other packages in CygWin

To add another package or program, run setup.exe again and during package selection, please select the package you want.


Leave a Comment ()