Install sagetex by entering the following commands in the terminal:
sudo apt update sudo apt install sagetex
Description:
Embed Sage code and plots into LaTeX
The SageTeX LaTeX package allows you to embed code, results of computations, and plots from the SageMath mathematics software suite into LaTeX documents. SageMath is an open-source Computer Algebra System (CAS). . This package provides the LaTeX package.
Homepage: https://github.com/dandrake/sagetex
Version: 3.0+ds-6
Section: universe/tex