How to Install and Uninstall sagemath Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 13,2024

1. Install "sagemath" package

In this section, we are going to explain the necessary steps to install sagemath on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install sagemath

2. Uninstall "sagemath" package

This is a short guide on how to uninstall sagemath on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove sagemath $ sudo apt autoclean && sudo apt autoremove

3. Information about the sagemath package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: sagemath
Architecture: amd64
Version: 8.1-7ubuntu1
Multi-Arch: same
Priority: optional
Section: universe/math
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 93463
Depends: ecl (>= 16.1.2), libblas3 | libblas.so.3, libbrial-groebner3, libbrial3, libc6 (>= 2.15), libcliquer1, libec3, libecm1, libflint-2.5.2, libflint-arb2, libgap-sage-4 (>= 4.8.6), libgcc1 (>= 1:4.0), libgd3 (>= 2.1.0~alpha~), libgivaro9 (>= 4.0.2-8~), libglpk40 (>= 4.59), libgmp10 (>= 2:6.1.0), libgmpxx4ldbl, libgsl23, libgslcblas0, libiml0, liblfunction0, liblinboxsage-1.4.2-0, liblrcalc1, libm4ri-0.0.20140914, libm4rie-0.0.20150908, libmpc3, libmpfi0 (>= 1.5.1), libmpfr6 (>= 4.0.0), libntl35, libpari-gmp-tls5 (>= 2.9.0~pre1-1), libplanarity0, libppl14, libpynac15, libratpoints-2.1.3, libreadline7 (>= 6.0), librw0, libsingular4 (>= 1:4.1.0-p3), libstdc++6 (>= 5.2), libsymmetrica2 (>= 2.0), libzn-poly-0.9, python (<< 2.8), python (>= 2.7~), python-numpy (>= 1:1.13.1), python-numpy-abi9, python2.7, python:any (<< 2.8), python:any (>= 2.7~), cysignals-tools (>= 1.2.0+ds-2), cython (>= 0.26~), ecl (<< 16.1.3), eclib-tools (>= 20170122), f2c, fflas-ffpack (>= 2.2.2), flintqs, gap-core (>= 4r8p6), gfan, gmp-ecm, ipython (>= 5.1.0-2), iso-codes, jmol (>= 14.6.4), lcalc (>= 1.23+dfsg-6), less, libcdd-tools (>= 094h), libjs-mathjax, libjs-three (>= 80), maxima-sage (>= 5.39.0), maxima-sage-doc (>= 5.39.0), maxima-sage-share (>= 5.39.0), nauty, octave, palp (>= 2.1-2), pari-doc (>= 2.9.0), pari-gp (>= 2.9.0), pari-galdata, pari-seadata, python3, python-alabaster, python-babel, python-backports-abc, python-backports.functools-lru-cache, python-backports-shutil-get-terminal-size, python-backports.ssl-match-hostname, python-brial (>= 1.0.1), python-configparser, python-crypto, python-cvxopt, python-cycler, python-cypari2 (>= 1.1.3), python-cysignals-pari (>= 1.6.4), python-decorator, python-docutils, python-enum34, python-flask, python-flask-autoindex, python-flask-babel, python-flask-oldsessions, python-flask-openid, python-flask-silk, python-fpylll (>= 0.3.0), python-functools32, python-future, python-gd, python-gnutls, python-imagesize, python-ipython-genutils, python-itsdangerous, python-jsonschema, python-matplotlib (>= 2.1), python-mistune, python-moinmoin, python-mpmath, python-networkx, python-openid, python-path, python-pathlib2, python-pexpect (>= 4.1), python-pickleshare, python-pil, python-pip, python-pkgconfig, python-ply, python-prompt-toolkit, python-psutil, python-ptyprocess, python-pygments, python-rpy2, python-sagenb (>= 1.0.1), python-sagenb-export (>= 3.2), python-scipy (>= 0.19.1), python-setuptools, python-setuptools-scm, python-simplegeneric, python-singledispatch, python-snowballstemmer, python-sphinx (>= 1.6), python-subprocess32, python-sympy, python-terminado, python-tk, python-tornado, python-traitlets, python-twisted, python-typing, python-tz, python-vcversioner, python-wcwidth, python-werkzeug, python-zmq, python-zope.interface, r-cran-lattice, r-base-core, rubiks, sagemath-database-conway-polynomials (>= 0.5-2), sagemath-database-elliptic-curves, sagemath-database-graphs, sagemath-database-mutually-combinatorial-designs, sagemath-database-polytopes, singular (>= 1:4.1.0-p3), singular-doc (>= 1:4.1.0-p3), sqlite3, sympow (>= 1.023-8), tachyon, xcas, sagemath-common (= 8.1-7ubuntu1)
Recommends: sagemath-doc-en (= 8.1-7ubuntu1), sagemath-jupyter (= 8.1-7ubuntu1), sagetex, texlive-latex-base
Suggests: dot2tex, gap-design, gap-factint, gap-grape, gap-guava, gap-laguna, gap-sonata, gap-toric
Filename: pool/universe/s/sagemath/sagemath_8.1-7ubuntu1_amd64.deb
Size: 22695696
MD5sum: c081fb10991f12cf389f7d45dd04f283
SHA1: b0732748acab5d44e9db7b42251fb1dae2cea3c2
SHA256: e3b3ba7d9686435a66a01ff6461d5da106b6fe5ef8b25e4144e4eb104bb01ca1
Homepage: http://www.sagemath.org/
Description: Open Source Mathematical Software
Description-md5: 256abf706908b42a76741126f42111ff