sudo dnf install sagemath
First, install Homebrew if you haven’t. Then: install sage
brew update brew install sagemath This compiles a few dependencies but is surprisingly fast on Apple Silicon (M1/M2/M3). Once done, launch with: sudo dnf install sagemath First, install Homebrew if
docker pull sagemath/sagemath:latest docker run -it sagemath/sagemath You’ll land directly in a Sage prompt. To mount a local folder: To mount a local folder: SageMath (formerly SAGE)
SageMath (formerly SAGE) is a massive Python-based ecosystem for computational mathematics. It bundles over 100 open-source packages (NumPy, SciPy, Matplotlib, GAP, PARI, and more) into one unified interface.
sudo pacman -S sagemath Pro tip: The repo version is sometimes a few months old. For the absolute latest, use the sage package from nixpkgs or download the binary from the official site. Skip the official .dmg —it’s often outdated. Use Homebrew.
Drop a comment below, or check the official docs: doc.sagemath.org Happy math hacking.