Install xfig on MS Windows
This page shows how
to install xfig 3.2.x on Microsoft Windows 95/98/98SE/Me/NT/2000/XP using cygwin
step-by-step. Here are some screenshots(screenshot 1, screen shot 2)
after the installation.
If you want to install older versions (xfig 3.2.2 on
cygwin B20), please read my old
instructions. However, it is recommended to use the new version.
If you have any problems when following these steps, please refer
to the Frequently Asked Questions. If you
cannot find the answer from FAQ, you can
ask me at . If you find a software
that I am referring to is not the latest version, please notify me at .
- Directory assumptions: assume cygwin is installed on d:\cygwin,
GhostScript is installed on d:\gs. However, you can install them on
any directory of any drive as long as the full path of cygwin does not
contain spaces.
- Create a home directory. If you don't have a
home directory yet, create a home directory now, since several
files need to be stored in this directory in the following steps.
The home directory can be any directory on any drive and it is OK
to contain spaces in its full path name.
- Prepare environment variables.
- Install the current version of cygwin.
- Config X11 to run xfig
- Cygwin/X is a free X server. You already
installed X11 together with xfig when installing cygwin. You need to config
X11 following these instructions:
- Run xfig.
- Start the X server, a xterm window will show up.
- Run xfig in the cygwin bash window (or xterm window if
you use X11).
Here is a screenshot when you run xfig with X11.
Here is a screenshot when you run xfig with X-Win32.
- Install GhostScript. Xfig uses GhostScript to export to eps
files. You can use ghostscript to view ps file, convert ps to pdf, etc.
- Download the latest version of GhostScript and GSView from here
- Install GhostScript to d:\gs. You can install it to anywhere.
- Install GSView. You can view ps and eps files from
GSView. GSView can be installed into any directory
- Since xfig looks for command "gs", put this
file named gs into d:\gs\gs8.00\bin
- (Optional) Install netpbm. You need it only when you
want to import other formats of images (like gif, etc) into
xfig. Download the binary of netpbm from here (my local copy) to the root directory of cygwin (d:\cygwin),
and run this command. You can remove the file netpbm-10.11-1.tar.bz2
to save space after installing it. When downloading, you should
click the right mouse button and select "Save link target as...",
otherwise, some browsers may not download it correctly.
cd /
bzip2 -cd netpbm-10.11-1.tar.bz2 | tar xvf -
Back to LaTeX introduction
Back to my home page