.. _spkg__sagemath:

_sagemath: Downstream package of Sage in distributions
======================================================

SageMath is available from various distributions and can be installed
by package managers.

This dummy package records the names of the system packages that
should be installed to provide a standard installation of SageMath,
including documentation and Jupyter.


Downstream Contact
------------------

See :trac:`Trac wiki page Distribution <wiki/Distribution>`

Type
----

optional


Dependencies
------------


Version Information
-------------------


Equivalent System Packages
--------------------------

arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  sagemath sagemath-doc


conda:

.. CODE-BLOCK:: bash

    $ conda install  sage


Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  sagemath sagemath-doc-en sagemath-jupyter


Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  sagemath


freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install math/sage


homebrew:

.. CODE-BLOCK:: bash

    $ brew install sage


nix:

.. CODE-BLOCK:: bash

    $ nix-env --install sage


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  sagemath


See https://repology.org/project/sagemath/versions


However, these system packages will not be used for building Sage
because spkg-configure.m4 has not been written for this package;
see :trac:`27330`

