Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Sage beginners guide - Finch Kraigh copy.pdf
Скачиваний:
13
Добавлен:
10.02.2015
Размер:
5.86 Mб
Скачать

Installing Sage

BuildingSagefromsource

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 later.

If you are running Linux, use your package manager to install any missing tools. For example, on a Debian-based system like Ubuntu, run the following on the command line:

$ sudo apt-get install build-essential m4 gfortran

$ sudo apt-get install readline-common libreadline-dev

To install LaTeX (optional):

$ sudo apt-get install texlive xpdf evince xdvi

[ 38 ]

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]