Required packages to build SageMath on Ubuntu
Here is the 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
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)
For more details, see the Prerequisites section of Sage Installation Guide.