Download source code distribution (stable)

Thank you for your interest in SageMath! You can get the complete source for SageMath to compile it on your own Linux, macOS, or Windows system (using WSL). SageMath lives in an isolated directory and does not interfere with your surrounding system. It ships together with everything necessary to develop SageMath, the source code and all its standard dependencies.
The newest stable release is 10.5.
Please select a download server close to your location below.
Africa MARWAN, Morocco
Stellenbosch University, South Africa
Tertiary Education Network, Johannesburg, South Africa
University of the Free State, South Africa
America, North MIT, Cambridge, MA, USA
Simon Fraser University, B.C., Canada
University of Washington, Seattle, WA, USA
University of Waterloo, ON, Canada
XMission, Utah, USA
America, South Universidade Federal do Paraná, Brazil
University of São Paulo, Brazil
Asia Alibaba Cloud, China
KoDDoS Mirror, Hong Kong
Riken, Japan
University of Science and Technology, China
Yamagata University, JP
eScience Center, Nanjing University, Jiangsu, China
Australia AARNet Research Network
Europe Aristotle University of Thessaloniki, Greece
GARR, Italy
KoDDoS Mirror
LyraHosting
Metanet, Switzerland
Mirrorservice Network, United Kingdom
RedIRIS Research Network, Spain
Universidade do Porto, Portugal
Université Pierre et Marie Curie, Paris, France
Yandex, Russia
dogado GmbH, Germany

Distributed / P2P

Consider downloading via Torrent using BitTorrent web-seed files! This automatically balances and parallelizes the download across all servers, makes it resumable, and the checksum is automatically verified. This gives you maximum speed and protection against corrupt/malicious data. Either install a libtorrent based client like Deluge, Transmission (default in many Linux distributions), Vuze, or Aria2 for the command-line. (Install Aria2 via sudo apt-get install aria2 and then $ aria2c http://...*.torrent). Sage web-seed files.
 
Please read the README and the installation guide for more details, which also provides information on the installation prerequisites.

See also the Release Notes for version 10.5.

You can browse the main Sage repository on GitHub. The SageMath organization on GitHub also hosts a number of other repositories.

Sage also makes use of numerous other open source software packages, which are maintained separately.

Other SageMath downloads

Installation guide: What/how to download
Source (stable)
Source (devel)
To get the source of the latest development release, choose a download mirror and follow relevant instructions on the mirror page.
Apple macOS
Download macOS binaries (3-manifolds)
Docker image
Source (old)

Utilities

Useful utilities when working with SageMath