Quick Download and Install Guide

Not sure what to download? This short guide should get you started. A longer version of this guide is also available.

  1. Determine your operating system. (Windows, Linux, Mac OS X, Solaris, etc.)
  2. Determine your CPU type. (32-bit, 64-bit or "atom" for Linux and Intel or PowerPC for MacOS)

  3. Do you want a source or binary distribution? Even if you want to do development, a precompiled version of Sage (binary release) can be used for that purpose. The source distribution is mostly needed if you want to see the sources of the Sage packages, also known as SPKGs.

  4. If available, choose the appropriate binary version from one of the download mirrors.

  5. Follow the binary installation guide to actually install a pre-compiled version of Sage. The source installation guide contains more detailed information on compiling Sage from source.

Metalinks (Wikipedia, FSM) are XML files that contain multiple download sources and various checksums. Use them with a download manager below, if you want to make sure that your download works properly, automatically selects a fast mirror, recovers in case of a download server failure, if you want to pause and resume a download later or check'n'repair a broken file.

There are various Clients supporting this:

Troubleshooting

  1. If no binary version is available for your system, download the source version. Note that Sage compiles on a wide variety of systems, but does not compile on every system.
  2. If you are not sure how to unpack the compressed file or it's ending looks different:
    • *.tar.gz or *.tgz use: tar xzf *.tar.gz
    • *.tar.bzip2 or *.tar.bz2 use: tar xjf *.tar.bzip2
    • *.tar.lzma use: tar --lzma -xf *.tar.lzma
      • no lzma? perhaps you have xz, that is compatible with lzma. there might also be -J in tar -xJf *tar.lzma or you need to install an lzma or xz-utils package.
    • If the file ending is different, the Linux command "find" gives you information about the archive type. (file filename.ext)
  3. (((rhx: That should go to the troubleshooting section of the Installation Guide or (even better) the error message related to sage-flags.txt should change.))) You might run into the following issue with a binary release due to different features of your system and the system on which Sage was compiled.

  4. Ask for help on the sage-support mailing list.