Category: Cygwin

Cygwin on Windows 10 Technical Preview

Yes, Cygwin 64-bit seems to install and run just fine on Windows 10 using VirtualBox.

Cygwin64 HDF5 load() crash fix

Currently, Octave 3.8.1 in Cygwin64 was compiled with headers 1.8.12 but HDF5 library 1.8.13. This causes Octave to seg fault Warning! ***HDF5 library version mismatched error*** and exit. To avoid having to recompile, you can type HDF5_DISABLE_VERSION_CHECK=1 octave to startup octave you can perhaps add to your ~/.bashrc file the line: alias octave=”HDF5_DISABLE_VERSION_CHECK=1 octave -q”

Cygwin Python 3 pip install: Segmentation fault

Note: I get segmentation fault upon pip3.2 command, has anyone solved this? This was tested on Cygwin 1.7.31 with Python 3.2 and may be out of date when you read this Prereqs: python3-setuptools In cygwin type easy_install-3.2 pip to use pip3 type in Cygwin pip3.2

Matplotlib in Cygwin 64-bit for Python 3 and Python 2.7

It is pretty simple to install matplotlib for Python 3 and Python 2.7 in Cygwin. prereqs: pkg-config ghostscript libfreetype-devel libpng-devel python-gtk2.0 libgtk2.0-devel gcc-g++ git Procedure: git clone git:// cd matplotlib python install or for python 3, do: python3 install result: $ python Python 2.7.5 (default, Oct 2 2013, 22:34:09) [GCC 4.8.1] on cygwin […]

rsync to EXFAT drive

When syncing with the usual rsync Linux options: rsync -av –progress –stats /source/a/ /dest/a to an EXFAT drive, you’ll get errors like: rsync: mkstemp … failed: Function not implemented (38) because EXFAT doesn’t understand permissons, owners, or groups. So let’s pick out the options from -a that aren’t friendly with EXFAT. rsync -vrltD –progress –stats […]

Cygwin Imagemagick error about missing arial.ttf

In ImageMagick under Cygwin, when using the -annotate option to put text into images, you may get the error: montage: unable to read font `/usr/share/fonts/TTF/arial.ttf’ @ error/annotate.c/RenderFreetype/1120. To fix: In Cygwin, type: mkdir /usr/share/fonts/TTF ln -s /cygdrive/c/Windows/Fonts/arial.ttf /usr/share/fonts/TTF/

nmap with Cygwin

As of this writing, nmap is not built-in to Cygwin. Here is how to install and configure nmap so that you can call nmap seamlessly from Cygwin: 1) Download and install the “self-installer” from You do NOT need the WinPCap services, I unchecked those options. 2) in cygwin, type nano .bash_profile and add the […]

7-zip unavailable in 64-bit Cygwin

At the time of this writing, 7-zip was still not available in 64-bit Cygwin. Here’s how to work around this issue by using the Windows 7z.exe from Cygwin. NOTE: This method will not show percent complete (no progress report). 1) install the 64-bit 7zip for Windows from 2) in Cygwin, type nano ~/.bashrc and […]

Making Cygwin SSH server for Windows

One of the great things about using Cygwin SSHD is you also have access to the full suite of Cygwin tools like Octave, Imagemagick, etc. note, I won’t get into security setting here–but at least consider using Public Key Authentication — it’s much stronger than any human usable keyboard password. Procedure: 1) run “setup-x86_64.exe” and […]

Removing sshd daemon in Cygwin

One reason you might want to disable/remove the sshd daemon is upgrading from 32-bit Cygwin to 64-bit Cygwin WARNING: This procedure disables SSH access to your PC. You will have to have another means (e.g. physically being at the keyboard or RDP directly on port 3389) to access the PC again! To disable SSHD server […]