Installing Cygwin
To effectively use CLion, you will need to download some components supplied by Cygwin.
This section will help you download Cygwin to install three specific packages for CLion.
Table of contents
- Installing The Cygwin Setup
- Running the Cygwin Setup
- Selecting Packages
- Downloading the Packages
- Conclusion
Installing The Cygwin Setup
First, you will be setting up the directory and download source
- Go to Cygwin’s Website
Depending on your computer, you will want to either download:- 64-bit version
- 32-bit version
NOTE: If you are unsure which version to download, refer to the troubleshooting section to help figure out your operating systems version.
- Run the file you downloaded
If you get a security warning, it is safe to ignore it and run the program.
NOTE: This was downloaded in a Google Chrome browser. If your browser is different, the file may appear in a different location.
Running the Cygwin Setup
Click on
Next >
Select the
Install from Internet
download source
Click onNext >
Keep all selected defaults
Click onNext >
Change the
Local Package Directory
toC:\cygwin64\downloads
Click onNext >
NOTE: If an error message pops up, it is safe to create the new directory by clicking
Yes
Select
Direct Connection
Click onNext >
Search for the closest Mirror Site
NOTE: A Mirror Site is a website that contains the files that you will need to set up Cygwin. You will be using one of these sites as your download source, so choosing a website that is close to your area will help speed up the process. However, it doesn’t necessarily matter which Mirror Site you choose.
When your preferred download source is found, select it in the scroll window and proceed to click onNext >
Selecting Packages
These proceeding steps will cover what packages to choose, and how to choose them.
Selecting gcc-g++
Change the drop-down
View
tab toCategory
Search for gcc-g++ in the
Search
field
Expand the
Devel
level in the window
Search the
Devel
drop-down list
The package name must match gcc-g++.
WARNING: The package name must exactly match gcc-g++. This applies to gdb and make in the next steps as well.
Select the highest numbered non-test number version on the drop-down menu
Check the
Src?
check box
Selecting gdb
NOTE: It is safe to clear the search for gcc-g++ as long as you have the
Src?
box checked for it. This applies to gdb and make as well.
Follow along with the same steps from gcc-g++, searching instead for gdb
Selecting make
Follow along with the same steps from gcc-g++, searching instead for make
Downloading the Packages
Once you have selected gcc-g++, gdb, and make you can continue
Click on
Next >
Click on
Next >
Download the packages
NOTE: This process may take some time depending on how close you are to the mirror site you selected.
Finalize Cygwin installation
Now that the packages have finished downloading, you can choose whether or not to add the Cygwin Terminal to your Desktop and/or Start Menu. Clicking onFinish
will complete this process
Conclusion
You have now sucessfully downloaded Cygwin onto your computer. Your next steps are in Creating a CLion Account.