Differences between revisions 1 and 16 (spanning 15 versions)
Revision 1 as of 2017-01-09 21:22:17
Size: 49
Editor: egourgoulhon
Comment: This is the list of Ubuntu packages required to build SageMath from sources
Revision 16 as of 2020-04-19 18:54:39
Size: 1350
Editor: slelievre
Comment: Make page easier to find by separating words "prerequisites" and "Ubuntu" in its url
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Required packages to compile SageMath on Ubuntu ## page was renamed from prerequisitesUbuntu
= Required packages to build SageMath on Ubuntu =

{{http://loco.ubuntu.com/media/images/cof_orange_hex1.png||width=100px}}

Here is the minimal list of Ubuntu packages to install in order to build SageMath from sources (this is for Ubuntu 18.04):
 * git
 * m4
 * gfortran
 * libssl-dev
 * python-pip
 * automake ''(should no longer be required after [[https://trac.sagemath.org/ticket/26298|#26298]] is merged)''

In addition, it is recommended to install
 * texlive-generic-extra ''(to generate pdf documentation)''
 * texlive-xetex ''(to convert Jupyter notebooks to pdf)''
 * latexmk ''(to generate pdf documentation)''
 * pandoc ''(to convert Jupyter notebooks to pdf)''
 * dvipng ''(to render text with LaTeX in Matplotlib)''
 * default-jdk ''(to run the Jmol 3D viewer from the console and generate images for 3D plots in the documentation)''
 * ffmpeg ''(to produce animations)''
 * libavdevice-dev ''(to produce animations)''

Besides, to make SageMath use a maximum of system (Ubuntu) packages instead of building its own versions, see [[https://groups.google.com/d/msg/sage-devel/ZGEeuoTtbh4/bvSrf1jHCgAJ|here]].

For more details, see the [[http://doc.sagemath.org/html/en/installation/source.html#prerequisites|Prerequisites section]] of Sage Installation Guide.

Required packages to build SageMath on Ubuntu

http://loco.ubuntu.com/media/images/cof_orange_hex1.png

Here is the minimal list of Ubuntu packages to install in order to build SageMath from sources (this is for Ubuntu 18.04):

  • git
  • m4
  • gfortran
  • libssl-dev
  • python-pip
  • automake (should no longer be required after #26298 is merged)

In addition, it is recommended to install

  • texlive-generic-extra (to generate pdf documentation)

  • texlive-xetex (to convert Jupyter notebooks to pdf)

  • latexmk (to generate pdf documentation)

  • pandoc (to convert Jupyter notebooks to pdf)

  • dvipng (to render text with LaTeX in Matplotlib)

  • default-jdk (to run the Jmol 3D viewer from the console and generate images for 3D plots in the documentation)

  • ffmpeg (to produce animations)

  • libavdevice-dev (to produce animations)

Besides, to make SageMath use a maximum of system (Ubuntu) packages instead of building its own versions, see here.

For more details, see the Prerequisites section of Sage Installation Guide.

prerequisites/Ubuntu (last edited 2023-02-23 20:46:28 by mkoeppe)