_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

Dependencies#

Version Information#

Equivalent System Packages#

arch:

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

conda:

$ conda install  compilers make m4 perl python tar bc pkg-config

cygwin:

$ apt-cyg install binutils make m4 python39-urllib3 python39 perl perl-ExtUtils-MakeMaker tar gcc-core gcc-g++ findutils which libcrypt-devel libiconv-devel

Debian/Ubuntu:

$ sudo apt-get install  binutils make m4 perl python3 tar bc gcc g++ ca-certificates

Fedora/Redhat/CentOS:

$ sudo yum install  binutils make m4 python3 perl perl-ExtUtils-MakeMaker tar gcc gcc-c++ findutils which diffutils perl-IPC-Cmd

freebsd:

$ sudo pkg install gmake automake bash dash python

gentoo:

$ sudo emerge sys-devel/binutils sys-libs/binutils-libs sys-devel/make dev-scheme/guile dev-libs/libffi app-arch/tar sys-devel/gcc dev-libs/mpc sys-libs/glibc sys-kernel/linux-headers dev-lang/perl sys-devel/m4 sys-devel/bc dev-lang/python sys-devel/flex app-misc/ca-certificates dev-libs/libxml2 sys-apps/findutils sys-apps/which sys-apps/diffutils

homebrew:

nix:

$ nix-env --install binutils gnumake gnum4 perl python3 gnutar bc gcc bash

opensuse:

$ sudo zypper install binutils make m4 perl python3 tar bc which glibc-locale-base gcc gcc-c++ ca-certificates gzip findutils diffutils

slackware:

$ sudo slackpkg install binutils make guile gc libffi "gcc-[0-9]" gcc-11 gcc-g++ gcc-g++-11 libmpc glibc kernel-headers perl m4 bc python-2.7 python3 flex ca-certificates pkg-config libxml2 cyrus-sasl

void:

$ sudo xbps-install  bc binutils gcc libgomp-devel m4 make perl pkg-config python3 tar which

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