How To Install And Use Cygwin

Students generally have problems with the virtual installation of Ubuntu; specifically,  license issues, version issues, etc.

But I have a great solution for students to solve this problem. So now I’ll explain how to work with Cygwin software.
 

INTRODUCTION TO CYGWIN SOFTWARE

 
Cygwin is a compatible programming and runtime environment that runs natively on Microsoft Windows. The source code is designed for Unix-like operating systems.
 
The Cygwin installation directory has a similar directory layout to that found in the root file system of Unix-like systems, with familiar directories, such as /bin, /home, /etc, /usr, /var.
 
Cygwin installs with hundreds of command-line tools and other programs commonly found on a Unix-like system.
 
Cygwin provides native integration of Windows-based applications.
 
Cygwin provides a “VI” editor environment also. 
 

How to install “Cygwin Software”

 
Go to this link.
 
How To Install Cygwin And Use
 
In the above image  Cygwin istallation opens when you click on a given link and as per your processor you can install Cygwin software like 64bit or 32bit. Both setups are available on Cygwin site.
 
And setup of Cygwin is light-weight, so you can download easily and quickly.
 
After download you can set it up through the following steps. 
 
Step 1
 
Go to the folder where the setup downloaded
 
Step 2
 
Double-click on that setup.
 
Step 3
 
Click on the “Yes” button to give the permission to open setup. 
 
Now you can see the below dialog box,
 
How To Install Cygwin And Use
 
Step 5
 
Click on the next button.
 
Now you can see a new dialog box with three options like below:- 
 
How To Install Cygwin And Use
 
Step 6
 
Go through the default clicked option and click on the next button as shown in the  above figure.
 
After clicking on “Next” button you can see the dialog box like the below image,
 
How To Install Cygwin And Use
 
Step 7
 
So you can see the root directory is “C” drive. You can go through this root and click on the next button.
 
Step 8
 
After clicking on next button the dialog box appears as below and it's showing you that local package directory installation is by default installing in “C drive.” So you can continue with it. Click on next button. 
 
How To Install Cygwin And Use
 
Step 9
 
After clicking on next button setup will ask you to “select your internet connection”, so the default selection is “Use System proxy Settings”. The student will go through this option and click on next button as shown in the below figure. 
 
How To Install Cygwin And Use
 
Step 10
 
After this you can choose a downloaded site url as bellow,
 
How To Install Cygwin And Use
 
Click on “Next Button”.
 
Step 11
 
After that you can see a dialog box named “Select package” , then you can choose “Full” option from View dropdown list as shown in the below figure,
 
How To Install Cygwin And Use
 
Click on “Next Button”. 
 
Step 12
 
After these steps you can see the “Review and conform changes” dialog box. 
 
How To Install Cygwin And Use
 
Click on “Next Button”.
 
Step 13
 
When you click on next button the full packages will start installing, and it takes some time to install the full packages.
 
After successfully installing packages you can see the bellow dialog box,
 
How To Install Cygwin And Use
 
Step 14
 
The last step is clicking on both check boxes of this dialog box then clicking on “finish button”. 
 
Your software is ready to use now.
 

Improve installation during missing some package of command

 
Question - Suppose a command is not working because you missed  installing that command package. What can you do now?
 
Answer
 
You can follow step 1 to 10 as it is, and do some little changes in step no. 11 you can select “category” option instant of “full” option from View dialog-box. And on search box write that command which you have missed to install the package. Take the example of the  “BC” (Basic calculator) command;
 
So, write “bc” on the search box and choose the bc package and choose the keep option or choose  a version of that command like below. 
 
How To Install Cygwin And Use
 
And follow step 12 to 14 as it is.
 
So now your command is working on your terminal.
 
How To Install Cygwin And Use


Similar Articles