.. _spkg__prereq:

_prereq: Represents system packages required for installing SageMath from source
================================================================================

Description
-----------

This script package represents the minimal requirements (system packages)
for installing SageMath from source.

Type
----

standard


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


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

arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  binutils make m4 perl python3 tar bc gcc which

conda:

.. CODE-BLOCK:: bash

    $ conda install binutils make m4 perl python3 tar bc gcc which

cygwin:

.. CODE-BLOCK:: bash

    $ apt-cyg install binutils make m4 perl python3 tar bc gcc which

Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  binutils make m4 perl python3 tar bc gcc which

Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  binutils make m4 perl python3 tar bc gcc which

freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install binutils make m4 perl python3 tar bc gcc which

gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge binutils make m4 perl python3 tar bc gcc which

homebrew:

.. CODE-BLOCK:: bash

    $ brew install binutils make m4 perl python3 tar bc gcc which

nix:

.. CODE-BLOCK:: bash

    $ nix-env --install binutils make m4 perl python3 tar bc gcc which

opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install binutils make m4 perl python3 tar bc gcc which

slackware:

.. CODE-BLOCK:: bash

    $ sudo slackpkg install binutils make m4 perl python3 tar bc gcc which

void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  binutils make m4 perl python3 tar bc gcc which


If the system package is installed, ./configure will check whether it can be used.

