How to Install and Uninstall sagemath Package on Debian 12 (Bookworm)
Last updated: February 24,2025
Notice
You can also install and uninstall the sagemath on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "sagemath" package
This is a short guide on how to install sagemath on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
sagemath
Copied
2. Uninstall "sagemath" package
In this section, we are going to explain the necessary steps to uninstall sagemath on Debian 12 (Bookworm):
$
sudo apt remove
sagemath
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the sagemath package on Debian 12 (Bookworm)
Package: sagemath
Version: 9.5-6
Installed-Size: 243
Maintainer: Debian Math Team
Architecture: all
Replaces: sagemath-common (<< 9.4-1)
Depends: python3:any, python3-sage (>= 9.5-6), python3-sage (<< 9.5-6.1~)
Recommends: sagemath-doc (= 9.5-6), sagemath-jupyter (= 9.5-6), sagetex, texlive-latex-base
Suggests: dot2tex, gap-design, gap-factint, gap-grape, gap-guava, gap-laguna, gap-sonata, gap-toric
Breaks: sagemath-common (<< 9.4-1)
Description: Open Source Mathematical Software
Description-md5: 256abf706908b42a76741126f42111ff
Homepage: http://www.sagemath.org/
Tag: field::mathematics, implemented-in::python, interface::shell,
role::program, science::calculation, science::plotting,
scope::application, use::calculating
Section: math
Priority: optional
Filename: pool/main/s/sagemath/sagemath_9.5-6_all.deb
Size: 60792
MD5sum: a8535162c1112f16df477374c8db8c95
SHA256: 5d2d79dd734875392e520daa0715bcfa5d842203019e0cff6dce014c8f5e6d8b
Version: 9.5-6
Installed-Size: 243
Maintainer: Debian Math Team
Architecture: all
Replaces: sagemath-common (<< 9.4-1)
Depends: python3:any, python3-sage (>= 9.5-6), python3-sage (<< 9.5-6.1~)
Recommends: sagemath-doc (= 9.5-6), sagemath-jupyter (= 9.5-6), sagetex, texlive-latex-base
Suggests: dot2tex, gap-design, gap-factint, gap-grape, gap-guava, gap-laguna, gap-sonata, gap-toric
Breaks: sagemath-common (<< 9.4-1)
Description: Open Source Mathematical Software
Description-md5: 256abf706908b42a76741126f42111ff
Homepage: http://www.sagemath.org/
Tag: field::mathematics, implemented-in::python, interface::shell,
role::program, science::calculation, science::plotting,
scope::application, use::calculating
Section: math
Priority: optional
Filename: pool/main/s/sagemath/sagemath_9.5-6_all.deb
Size: 60792
MD5sum: a8535162c1112f16df477374c8db8c95
SHA256: 5d2d79dd734875392e520daa0715bcfa5d842203019e0cff6dce014c8f5e6d8b