SnapPea 3.0
How to Compile

Most users will (eventually) be able to download a precompiled SnapPea kernel.
Use the instructions below if a pre-compiled SnapPea kernel is not yet available for your computer and operating system.

  1. Download the SnapPea kernel and unzip it.

    Use detab.c if you want to view the source code on a unix machine with 8-space tab stops.

  2. Within the folder you just downloaded, locate the SnapPeaPython directory. Discard the precompiled, which is intended only for Linux systems.

  3. At this point two approaches are possible.

    1. If you’re using Red Hat Linux (or possibly a different Linux distribution), go to the SnapPeaPython directory and edit the first line in the makefile

      SNAPPEA_KERNEL = /home/jeff/SnapPea/SnapPeaKernel

      to specify the location of the kernel directory you downloaded in Step 1.

      Still in the SnapPeaPython directory, type "make" to compile the source files. If all goes well, this will create the library If you get any error messages, please let me know.

    2. On any Unix system (including Red Hat Linux), if you have Python 1.5 or later you can use a platform-independent script to create the library Go to SnapPeaPython/installation and follow the instructions in ReadMe.txt. Again, if you have any problems, please let me know. Many thanks to Peter Brinkmann for providing this script.

  4. You have now completed Step 2 on the installation page, and are ready to use SnapPea 3.0 as explained in Step 3 of the installation page.