📅  最后修改于: 2023-12-03 15:31:25.006000             🧑  作者: Mango
SageMath is a free open-source mathematics software system that provides an extensive library of mathematics software to carry out computations in various fields of mathematics.
In this guide, we will show you how to install SageMath using Shell/Bash on Linux.
Before we install SageMath, we need to ensure that our system is up-to-date and we have the following packages installed:
Follow the below steps to install SageMath using Shell/Bash:
Open a terminal on your Linux system.
Download the latest version of SageMath using the following command:
wget https://mirrors.sage.org/sage/linux/64bit/sage-9.4-Ubuntu_20.04-x86_64.tar.bz2
Extract the downloaded file using the following command:
tar xvf sage-9.4-Ubuntu_20.04-x86_64.tar.bz2
Navigate to the extracted SageMath directory using the following command:
cd SageMath
Run the following command to start the SageMath installation process:
./sage
Wait for the installation process to complete. It might take some time to complete depending on your system's speed.
Once the installation is complete, you will see a message indicating that SageMath has been successfully installed.
To test if SageMath has been successfully installed, open a terminal window and type the following command:
sage -v
The output should display the version of SageMath that you have installed.
We have successfully installed SageMath using Shell/Bash on Linux. SageMath is now ready for use on your system. Happy computing!