Download Cygwin For Windows 10
Cygwin has a nice setup program that downloads and installsthe necessary Cygwin packages for you.
- Download Cygwin For Windows 10 Installer
- Download Cygwin For Windows 10 32-bit
- Download Cygwin For Windows 10 64
Install Cygwin, which gives us a Unix-like environment running on Windows. Install a set of Cygwin packages required for building GCC. From within Cygwin, download the GCC source code, build and install it. Test the new GCC compiler in C14 mode using the -std=c14 option. How to compile redis 5 for windows 10 using cygwin gcc. This is for testing redis on windows 10 only. Not for Production!! Use it on your own risk, your anti virus may detect it as a virus its not! Motivation: I was looking for redis windows build to test some redis c client and to my surprise i havent found one so quickly i complied one. Cygwin generally used to run Linux tools like ssh, SCP, bash, X11, GCC in the Windows environment. Cygwin support following operating systems. Windows XP; Windows Vista; Windows 7; Windows 8; Windows 10; Windows Server 2003; Windows Server 2008; Windows Server 2012; Windows Server 2016; Installation Download Installation Files. We will download.
Open the Cygwin, http://cygwin.com/ page in your webbrowser
Click on the
Run the Cygwin setup program and you will see the welcomescreen:
Click
Choose,
Click
The default
Click
Click
Download Cygwin For Windows 10 Installer
Choose your proxy setup, or, just choose
Click
Select your nearest mirror for downloading:
Click
On the next screen you will select the packages that will bedownloaded and installed. A listing of the Cygwin/X packages isgiven below; a listing of the general Cygwin packages would bebeyond the scope of this document.
Cygwin/X packages are located in the
xorg-server (required, the Cygwin/X X Server) xinit (required, scripts for starting the X server: xinit, startx, startwin (and a shortcuton the Start Menu to run it), startxdmcp.bat ) xorg-docs (optional, man pages) xlaunch (optional, a wizard for starting X sessions) You may also select any X client programs you wantto use, and any fonts you would like to have available.
You may also want to ensure thatthe
opensshpackage is selected if you wish to use ssh connections to run remote X clients. You may also want to ensure thatthe
inetutils or rshpackages are selected if you wish to use telnet or rsh connections to run remote X clients. (not recommended)
You can run setup again in the future to add more packages.
Click
After the packages are downloaded, setup will automaticallybegin to install them:
I highly recommend allowing Cygwin Setup to create Desktop andStart Menu icons for you; these icons simply launch a
Click
(optional but recommended) Install the cygserver service. See the instructions in the Section called Shared memory support in Chapter 3).
You have now successfully installed Cygwin/X.
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¶
Remove packages¶
Download Cygwin For Windows 10 32-bit
Update all packages¶
Note
Download Cygwin For Windows 10 64
The update
option will first download a new version of setup-x86_64.exe
and after that all packages will be updated.