Book Image

Sage Beginner's Guide

By : Craig Finch
1 (1)
Book Image

Sage Beginner's Guide

1 (1)
By: Craig Finch

Overview of this book

Table of Contents (17 chapters)
Sage Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Building Sage from source


This section will describe how to build Sage from source code on OS X or Linux. Although Sage consists of nearly 100 packages, the build process hides much of the complexity. It is impossible to provide instructions for all of the platforms that can build Sage, but the following guidelines should cover most cases. The official documentation for building Sage from source is available at http://sagemath.org/doc/installation/source.html.

Prerequisites

In order to compile Sage, you will need about 2.5GB of free disk space, and the following tools must be installed:

  • GCC

  • g++

  • gfortran

  • make

  • m4

  • perl

  • ranlib

  • tar

  • readline and its development headers

  • ssh-keygen (only needed to run the notebook in secure mode)

  • latex (highly recommended, though not strictly required)

If you are running OS X (version 10.4 or later), install XCode to get all of these tools. XCode is available for free when you sign up as a developer at http://developer.apple.com/. Make sure that you have XCode version 2.4 or...