Releases
But the OS X version of X11 is generally faster and certainly more stable than X11 on top of Cygwin on top of Windows. As the other poster mentioned, once you have X11 installed on your Mac you simply start X11 and then use 'ssh -X' to connect to a remote server but have the X11 windows displaying on your local display. Mac OS X binary packages: consider using either the Fink or MacPorts version: Fink version. MacPorts version. Cygwin binary package: Shared: xcrysden-1.5.60-cygwin.tar.gz (Courtesy of Matic Poberznik) Compiled under x8664 cygwin (CYGWINNT-6.1) @ Windows 7 Professional 64 bit. ( Requires: tcl-tk, fftw3, libGL1, libGLU1, and other packages.
Please download one of the latest releases in order toget an API-stable version of cairo. You'll need both the cairo andpixman packages.
See In-Progress Development (below) for details ongetting and building the latest pre-release source code if that's whatyou're looking for.
Binary Packages
GNU/Linux distributions
Many distributions including Debian,Fedora, and others regularly includerecent versions of cairo. As more and more applications depend oncairo, you might find that the library is already installed. To getthe header files installed as well may require asking for a -dev or-devel package as follows:
For Debian and Debian derivatives including Ubuntu:

For Fedora:
For openSUSE:
Mac Os X Download Iso
Windows
Precompiled binaries for Windows platforms can be obtained in avariety of ways.
From Dominic Lachowicz:
Since GTK+ 2.8 and newer depends on Cairo, you can have Cairoinstalled on Win32 as a side-effect of installing GTK+. For example,see The Glade/GTK+ for WindowsToolkit.
From Daniel Keep (edited by Kalle Vahlman):
Go to official GTK+ for Windows page.
You probably want at least the zlib, cairo, and libpng run-time archives(you can search on those strings to find them in thepage). That should be it. Just pop libcairo-2.dll, libpng13.dll andzlib1.dll into your working directory or system PATH, and away you go!
That gives you the base cairo functions, the PNG functions, and theWin32 functions.
Mac OS X
Using MacPorts, the port is called'cairo', so you can just type:
And to upgrade to newer versions once installed:
If you use fink instead, the command toinstall cairo is:
In general, fink is more conservative about upgrading packages thanMacPorts, so the MacPorts version will be closer to the bleeding edge,while the fink version may well be more stable.
If you want to stay on the absolute cutting-edge of what's happeningwith cairo, and you don't mind playing with software that is unstableand full of rough edges, then we have several things you might enjoy:
Snapshots
We may from time to time create a snapshot of thecurrent state of cairo. These snapshots do not guarantee API stabilityas the code is still in an experimental state. Again, you'll want bothcairo and pixman packages from that directory.
Browsing the latest code
The cairo library itself is maintained with thegit version control system. You may browse thesource online using the cgitinterface.
Downloading the source with git
Cygwin Mac Os X download free. full
You may also use git to clone a local copy of the cairo library sourcecode. The following git commands are provided for your cut-and-pasteconvenience.
followed by periodic updates in each resulting directory:

Once you have a clone this way, you can browse it locally withgraphical tools such as gitk or gitview. You may also commit changeslocally with 'git commit -a'. These local commits will beautomatically merged with upstream changes when you next 'git pull',and you can also generate patches from them for submitting to thecairo mailing list with 'git format-patch origin'. To compile theclone, you need to run ./autogen.sh initially and then follow theinstructions in the file named INSTALL.
You may need some distribution-specific development packages to compilecairo. If your are using Debian or Ubuntu, you may findadditional details for Debian-derived systemshelpful.
Git under Linux/UNIX
If you can't find git packages for your distribution, (thoughcheck for a git-core package as well), you can get tar files fromhttp://code.google.com/p/git-core/downloads/list

Git on Windows
You can use Git on Windows either with msysgit or git inside Cygwin. Msysgit is the recommended way to go as the installation is much simpler and it provides a GUI. In all cases, make sure the drive you download the repository on is formatted NTFS, as Git will generate errors on FAT32.
MSYSGIT
See the msysgit project for thelatest information about git for Windows. You'll find a .exe installerfor git there, as well as pointers to the cygwin port of git as well. This is all you need to do.
GIT ON CYGWIN
Download and run the Cygwin Setup.exe from Cygwin's website. Walkthrough the initial dialog boxes until you reach the 'Select Packages'page. Click the 'View' button to display an alphabetical list ofpackages and select the 'git' package.
If you want to build using gcc, you will also need to select thefollowing packages:
- 'automake' ( anything >=1.7 )
- 'gcc-core'
- 'git' ( no need to click on this again if you did so above )
- 'gtkdoc'
- 'libtool'
- 'pkg-config'
Whether you build with gcc or not:
Click 'Next' and Cygwin setup will download all you need. Afterdownloading, go to the directory where Cygwin is installed, and run'cygwin.bat'. This will open a command prompt.Mount anexisting directory on your hard drive, cd to that directory, and thenfollow the 'Downloading with git' instructions above.
If you want to build using Visual Studio and still want the latestsource, you will need cygwin, but you will only need to select the'git' package. See the VisualStudio page for more details.
- Download and install zlib. Build zlib from its /projects folder, and use LIB RELEASE configuration.
- Download and install libpng. Build libpng from its /projects folder and use LIB RELEASE configuration.
- Install the MozillaBuild environment from here: MozillaBuild
- If you chose the default install path, you'll find in c:mozilla-build several batch files. Edit the one corresponding to your version of VC++ (or a copy of it), and modify the INCLUDE and LIB paths. You'll need to add the zlib and libpng INCLUDE and LIBpaths. Also include <your repository>cairosrc, <your repository>cairoboilerplate, and <your repository>pixmanpixman to the INCLUDE paths. Here's an example (your paths will vary obviously):
- Launch the batch file you just modified. It'll open a mingw window. Ignore the error messages that might appear at the top of the window.We'll now build everything in debug configuration. For release, replace CFG=debug by CFG=release
- Browse to pixman's folder (pixmanpixman), and run make -f Makefile.win32 CFG=debug
- Browse to Cairo's src folder (cairosrc), and run make -f Makefile.win32 static CFG=debug.You now have your library in cairosrcdebug (or release).You can build the remaining ancillary cairo parts with the following steps, or go enjoy your library now.
- Browse to Cairo's boilerplate folder (cairoboilerplate), and run make -f Makefile.win32 CFG=debug
- Browse to Cairo's test pdiff folder (cairotestpdiff), and run make -f Makefile.win32
- Browse to Cairo's test folder (cairotest), and run make -f Makefile.win32 CFG=debug
- Browse to Cairo's benchmark folder (cairoperf), and run make -f Makefile.win32 CFG=debug
Building in Visual Studio

You can create a Visual Studio solution and projects for each of these: pixman, cairo/src, cairo/boilerplate, cairo/test, cairo/perf. Check each project's properties, make them all makefile projects, and set the build command (NMake) as follows. This example applies to cairo/src in release configuration, residing in C:WorkCairosrc, with the Mozilla Build Tools installed in C:mozilla-build:
Modify the paths and the configuration as needed for the other projects.
News
X server 1.20 andX.Org X11 Release 7.7are included in Cygwin.Details are available in the announcementshere andhere.
Note that since X server 1.17, by default the server does not listen for TCP/IPconnections, only accepting local connections on a unix domain socket.See this FAQ for more details.
Users upgrading from monolithic X (Release 6.9 and earlier, available via setup before November 2008)should also see theannouncement about modular X.2018-Jun-29
Overview
Cygwin/X is a port of the X Window System to the Cygwin API layer for the Microsoft Windows family of operating systems. Cygwin provides a UNIX-like API, thereby minimizing the amount of porting required.
Cygwin/X consists of an X server, X libraries, and nearly all of the standard X clients, such as xterm, xhost, xdpyinfo, xclock, xeyes, etc. Many more X programs are also packaged for Cygwin. See also the features and screenshots pages.
Cygwin/X is licensed under a MIT/X11 style license. Cygwin is licensed under a modified GNU General Public License that specifically allows libcygwin.a to be linked to programs that are licensed under an Open Source Definition compliant license without such linking requiring that those Open Source programs be licensed under the GNU General Public License (see the Cygwin licensing page for more information). Source code and binaries for both projects are freely available.
Downloading and Installing
Cygwin/X is installed via Cygwin's Installer, either setup-x86_64.exe (for the 64-bit version), or setup-x86.exe (for the 32-bit version of Cygwin), and the installation process is documented in the Cygwin/X User's Guide.
Whether or not you already have Cygwin installed, you can add Cygwin/X to your installation by downloading and running setup, and selecting the 'xinit' package from the 'X11' category.
Using Cygwin/X is documented in a step-by-step manner, with lots of pictures and examples, in the Cygwin/X User's Guide. Please notice, however, that Cygwin/X contains many general-purpose programs, libraries, and functions that are part of all X distributions. It is therefore beyond the scope of the Cygwin/X User's Guide to document all of these X Window System components. To find documentation, for example, for setxkbmap one should consult the generic X documentation such as the setxkbmap(1) manual page. You could always, of course, do a Google search for setxkbmap, which finds the manual page mentioned above.
Help, contact ...
For all Cygwin/X related questions and observations, please check the resources available at this site, such as the FAQ, the User's Guide and the mailing list archives. If you've exhausted these resources then please read the Cygwin problem reporting guidelines before sending an email to the cygwin mailing list.
Please send notification of technical problems (bad html, broken links) concerning these web pages to the cygwin mailing list.