Ubuntu18.04安装sagemath(命令行安装,超方便)

Ubuntu果然是易用的,不像网上那么多编译源码sagemath的教程,直接一行命令就解决!

sudo -i
apt update
apt-get update
apt install sagemath

PS:官网如下https://www.sagemath.org/download-linux.html;人家写的很明白,如果你是Debian系的系统(不知道啥是Debian系自己百度,Ubuntu就是),可以直接运行命令安装。

只是说现在推荐用apt安装而不是apt-get,所以换了一下;但是开始直接运行的命令中没有加apt-get update这一步,安装失败,运行一次apt-get update再运行apt install sagemath就安装成功了。

猜你喜欢

转载自blog.csdn.net/ckm1607011/article/details/106724624