Download Ptolemy 0.7

This file duplicates some of the material found in the files below, but the page does provide links to the Ptolemy0.7 tar files.

Places to go

  • Ptolemy Home Page
  • Ptolemy 0.7 Release Notes
  • The Almagest: the three volumes of Ptolemy documentation, including Appendix A of the Ptolemy User's Manual, which includes Ptolemy 0.7 Installation instructions in pdf, PostScript, html and ASCII
  • Late breaking Ptolemy0.7 Bugs and other notes
  • Ptolemy 0.7 Patch 1 description - pt0.7p1.patch.gz
    The src links below are to pt0.7p1.src.tar.gz, which contains the patch. You only need to install the patch if you downloaded Ptolemy 0.7 before July 24, 1997, or if your ptolemy/mk/ file says

  • Quick installation instructions

    Here are the instructions for downloading Ptolemy0.7. If you are already familiar with Ptolemy, you might be able to get by with these quick instructions. If you are new to Ptolemy, you may want to look over the Detailed Instructions below.
  • If you are running under Solaris2.5.1, SunOS4.1.3 or HPUX10.20, you can download prebuilt binaries built by the Ptolemy group.
  • Eventually, we will have contributed binaries for certain other platforms, including HPUX9, Solaris2.4 and DEC Alpha.
  • If we don't have prebuilt binaries available, you will have to download scratch sources build from scratch.
  • Common download configurations

    The Ptolemy distribution consists of several different GNU zipped tar files that can be mixed or matched. Below are several common sets of files.

    For a description of what is in the tar files, and what you need to run Ptolemy, see the description of the Ptolemy0.7 tar files below.

    Download Prebuilt Binaries built by the Ptolemy group

    Note that you must down load the src tar file to run prebuilt binaries. The src tar file contains files that are used at runtime.
  • Solaris2.5.1 (Sparc) binary distribution, with gcc (135 Mb uncompressed and untar'd): src (14.4 Mb) - sol2.5 Ptolemy binaries (16.7 Mb) - sol2.5 gcc-2.7.2/libg++-2.7.1 binaries (7.2 Mb)
  • SunOS4.1.3 binary distribution, with gcc: src (14.4 Mb) - sun4 Ptolemy binaries (31.7 Mb) - sun4 gcc-2.7.2/libg++-2.7.1 binaries (7.7 Mb)
  • HPUX10.20 binary distribution, with gcc: src (14.4 Mb) - hppa Ptolemy binaries (22.6 Mb) - hppa gcc-2.7.2/libg++-2.7.1 binaries (8.9 Mb)
    To use the HPUX10.20 binaries, you must have X11R6 installed. See README.hpux for details. A tar file of X11R6 is available at XR6built-6.11-sd-9.03.tar.gz.
  • Download Prebuilt Binaries contributed by others

    The Ptolemy group provides binaries for Solaris2.5.1, SunOS4.1.3 and HPUX10.20. Below are downloads for binaries that were contributed by others, or built by the Ptolemy group, but not tested thoroughly. Note that you must download the src tar file to use prebuilt binaries.

    In alphabetical order by operating system

  • DEC Alpha Digital Unix 4.0 from Frederic Boulanger.
  • The original ftp site in France.
  • Local Digital Unix 4.0 Distribution: README_DECAlpha (included in the alpha4 Ptolemy binaries tar file) - alpha4 Ptolemy binaries (42.3Mb) - alpha4 Octtools and Tcl/Tk binaries (10.8Mb) - alpha4 Gnu binaries (7.2Mb)
  • To use Ptolemy under Digital Unix 4.0, you should download the three alpha4 binary tar files and the src (14.4 Mb) tar file.
    Note that the alpha4 Gnu binaries include a gzipped file that needs to be untar'd. The reason for the second internal file is because some of the pathnames are longer than 100 characters. To untar the second internal file, follow these steps.
    cd ptolemy/..
    gzcat /tmp/ | tar -xf -
    cd ptolemy/gnu/alpha4/lib/gcc-lib/alpha-dec-osf4.0
    gzcat | tar -tvf -
  • HPUX9.05 binaries from Christopher Hylands.
    If you have HPUX10.20, set PTARCH to hppa and use the prebuilt binaries above. If you are running under HPUX9.x, set PTARCH to hppa9 and download these binaries:
    src (14.4 Mb) - hppa9 Ptolemy binaries (20.0 Mb) - hppa9 gcc-2.7.2/libg++-2.7.1 binaries (8.6 Mb)
    To use the HPUX9.05 binaries, you must have X11R6 installed. See README.hpux for details. A tar file of X11R6 is available at XR6built-6.11-sd-9.03.tar.gz.
    The HPUX9.x port has a few bugs, see the BUGS file.
  • RedHat Linux 4.2 Distribution in RPM format from Wolfgang Reimer.
  • The original ftp site in Germany
  • Local RedHat Linux 4.2 distribution
  • RedHat Linux 5.0 Distribution in RPM format from Wolfgang Reimer.
  • The original ftp site in Germany
  • Local RedHat Linux 5.0 distribution
  • Debian Linux format from Eduardo Diaz.
  • The original ftp site in Spain
  • Local Debian Linux Distribution

  • There are three packages that are necessary to run Ptolemy and compile new stars. The packages require about 120Mb of disk space.
  • Solaris2.5
    If you have Solaris2.5.1, then PTARCH should be set to sol2.5 and you should use the Solaris2.5.1 binaries above. If you have Solaris2.5, then PTARCH should be set to sol2.5 and you should download binaries above, except for the GNU compiler binary. Under Solaris2.5, the Solaris2.5.1 GNU compiler will have problems with va_list.h. For further information, see
  • Solaris2.4 from Christopher Hylands.
    If you have Solaris2.4, then PTARCH should be set to sol2 and you should download these files.
    src (14.5 Mb) - sol2 Ptolemy binaries (16.6 Mb) - sol2 gcc-2.7.2/libg++-2.7.1 binaries (6.3 Mb)
  • Sources to build from scratch

  • Sources to build everything from scratch on non-HP platforms: src (14.4 Mb) - other.src (7.5 Mb) - gnu (10.7 Mb) -
  • Sources to build everything from scratch on an HPUX10.20 platform: src (14.4 Mb) - other.src (7.5 Mb) - gnu.hppa.src (14.5 Mb)
  • Building From Scratch

    1. To rebuild from scratch, grab the following tar files: src (14.4 Mb), other.src (7.5 Mb),
    2. If you don't have gcc-2.7.2 and libg++-2.7.1 and GNU make, and are on anything other than the HP, grab gnu (9.8Mb) (This file includes bison-1.24 and flex-2.5.2). If you are on the HP, then you will want to grab gnu.hppa.src (14.5 Mb), which includes everything in the gnu file in addition to binutils-2.6.
    3. Gunzip and untar the files. If you are on anything but a HP, you will need around 400 Mb to build GNU, tcltk, octtools and ptolemy. If you are short on space, see the Disk Space section below.
    4. Set your PTOLEMY variable, your PTARCH variable, and your path. You could source ptolemy/.cshrc or place the following in your .cshrc
      	setenv PTOLEMY /your/ptolemy
      	setenv PTARCH `/your/ptolemy/bin/ptarch`
      	set path = ($PTOLEMY/bin.$PTARCH $PTOLEMY/bin $path)
      Where /your/ptolemy is the location of the Ptolemy tree.

      You need to have $PTOLEMY/bin so you can find genStarTable which is used to create files like sdf/stars/sdfstars.c

      In 0.7, we've renamed ARCH to PTARCH so we don't conflict with other packages.

      If you will be building the GNU tools under Solaris, you need to have /usr/bin in your path before /usr/ucb, see $PTOLEMY/src/gnu/README

    5. If you have the GNU tools installed, then do:
      	cd $PTOLEMY; make everything >& log.out &
      Note that GNU make should be in your path as make.
    6. If you do not have the GNU tools installed, then you should read $PTOLEMY/src/gnu/README and then do:
      	cd $PTOLEMY; make bootstrap >& log.out &
    7. If you are planning on building tar files for shipping, you might want to check out pt0.7.builddist.tar.gz which contains a makefile and Gnu tar exclusion files that we use here at UC Berkeley to create distributions. These files are very rough, but might be of use.

    Detailed instructions

    Below is amplification of the quick and dirty instructions above.

    For the complete installation documentation, see Appendix A of the Ptolemy User's Manual.

    The Ptolemy0.7 release includes the Appendix A in html format at $PTOLEMY/doc/html.

    You can obtain the tar files either from this web page, or by using anonymous ftp to The files are in pub/ptolemy/ptolemy0.7.

    Below is a description of the Ptolemy0.7 source tar files.

    Ptolemy requires the X window system. Ptolemy relies on a subset of the GNU tools, such as GNU make and gcc/libg++. The binaries for the GNU tools on some architectures are supplied as a separate compressed tar file. It is possible to build Ptolemy with non-GNU compilers.

    Ptolemy includes the Tycho system. Tycho is a graphical front end that uses Itcl. Tycho can use Java and the TclJava interface, but Java is not yet required to run Tycho or Ptolemy. (The TclJava Interface is available separately from Ptolemy and Tycho).

    The Tycho/Java interface is built on top of the TclJava interface. The Tycho/Java interface uses the Reflect class, which is only available in JDK1.1 and later. As of 5/22/97, JDK1.1.1 was available from for Solaris2.x on Sparc and x86 and for Windows96/NT.

    On 6/2/97, HP released a JDK1.1.2 (1.1.2 Java technology plus the Just-In-Time compiler) which is available from

  • The 0.7 src file is about 14.4 Mb gzipped.
  • The 0.7 other.src file is about 7.5 Mb gzipped. The other.src file includes octtools, Itcl2.2 and xv sources. Itcl2.2 includes Tcl7.6/Tk4.2. Ptolemy0.7 requires Itcl2.2 for Tycho, which is used to view files, manage dialog boxes and other tasks.
  • The 0.7 oct.src file is about 2.1 Mb gzipped. The oct.src file includes only the octtools sources. This file has not been tested extensively. If you already have Itcl2.2 and xv, then you can download oct.src instead of other.src
  • The 0.7 gnu sources is about 10.7 Mb gzipped.
    The 0.7 gnu tar file includes gcc-2.7.2 and libg++-2.7.2. If you can build gcc and libg++ with shared libraries, then incremental linking may work better for you. sol2.5 and hppa are the two architectures that have been built with shared libraries in house.
    You can use your own gcc-2.7.2/libg++-2.7.2, but Ptolemy requires that libg++ was build with --enable-shared. For instructions on rebuilding your GNU installation, see. If you download the 0.7 gnu sources, then you can install the GNU tools by typing:
    cd $PTOLEMY
    make install_gnu
  • The 0.7 gnu.hppa.src sources is about 14.5 Mb gzipped. gnu.hppa.src differs from gnu in that gnu.hppa.src contains GNU binutils so that we build gas for use on the hppa.
  • Disk Space

    Under Solaris2.5.1, untarring the src, sol2.5 and gnu.sol2.5 tar files took up about 139 Mb of space. Of that 139 Mb, 24.4 Mb were consumed by the GNU binaries, and 23.4 Mb were taken up by itcl2.0 and tcltk.

    In a test build of the 0.7 release on a Solaris2.5.1 machine building from src, other.src and gnu, the total amount of disk space used was 392 Mb. If you build in stages and delete obj.$PTARCH/gnu (81.6 Mb), obj.$PTARCH/tcltk (25.6 Mb) and obj.$PTARCH/octtools (11.3 Mb) as you go, then you should be able to get by with less space (approx 273 Mb). If need be, you can remove src/gnu (56 Mb), src/tcltk (11 Mb) and src/octtools (9.5 Mb) after you have installed each of them. To free up space, you may want to remove the following:

  • $PTOLEMY/src/domains/sdf/demo/ppimage (~1020 Kb). This file is used by some of the image processing demos.

  • Last updated 04/23/98, Send comments to