Skip to content

Commit

Permalink
Trac #19189: update prerequisites
Browse files Browse the repository at this point in the history
* Python is required
* Notes about redhat-derived distros

URL: http://trac.sagemath.org/19189
Reported by: vbraun
Ticket author(s): Volker Braun
Reviewer(s): Karl-Dieter Crisman, Jeroen Demeyer
  • Loading branch information
Release Manager authored and vbraun committed Sep 13, 2015
2 parents 1719fc4 + 9ac25fa commit 2f4b72f
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions src/doc/en/installation/source.rst
Expand Up @@ -96,6 +96,7 @@ computer:
- **perl**: version 5.8.0 or later.
- **ar** and **ranlib**: can be obtained as part of GNU binutils.
- **tar**: GNU tar version 1.17 or later, or BSD tar.
- **python**: Python >= 2.6.

Fortran and compiler suites
###########################
Expand Down Expand Up @@ -142,7 +143,12 @@ System-specific requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On Mac OS X, there are various developer tools needed which may require
some registration on Apple's developer site; see :ref:`section_macprereqs`.
some registration on Apple's developer site; see
:ref:`section_macprereqs`.

On Redhat-derived systems not all perl components are installed by
default and you might have to install the **perl-ExtUtils-MakeMaker**
package.

On recent Debian or Ubuntu systems, the **dpkg-dev** package is needed for
`multiarch <http://wiki.debian.org/Multiarch>`_ support.
Expand Down Expand Up @@ -182,13 +188,21 @@ distribution, but on a `Debian <http://www.debian.org/>`_ based system (e.g.
you would use
`apt-get <http://en.wikipedia.org/wiki/Advanced_Packaging_Tool>`_::

sudo apt-get install binutils gcc make m4 perl tar
# debian
sudo apt-get install binutils gcc make m4 perl tar git

# redhat
sudo yum install binutils gcc make m4 perl tar git perl-ExtUtils-MakeMaker
to install all general requirements, or, if you don't want Sage to build its
own GCC::

sudo apt-get install binutils gcc g++ gfortran make m4 perl tar
# debian
sudo apt-get install binutils gcc g++ gfortran make m4 perl tar git

# redhat
sudo yum install binutils gcc gcc-c++ gcc-gfortran make m4 perl tar git perl-ExtUtils-MakeMaker
(This was tested on Ubuntu 12.04.2.)
On other Linux systems, you might use
`rpm <http://en.wikipedia.org/wiki/RPM_Package_Manager>`_,
Expand Down

0 comments on commit 2f4b72f

Please sign in to comment.