我不记得两年前我是如何安装 SageMath 的。
但我猜是通过apt
命令,也许sudo apt install sagemath-jupyter
可以将 SageMath 的版本提供9.5
给每个人,或者通过文件.deb
。
因为,当我运行这个命令时:
locate sagemath | xargs -I {} dirname {} | grep -vF '/usr/share/doc/sagemath/' | sort | uniq
我看到它被分派到下一个文件夹中:
/usr/lib/python3/dist-packages
/usr/lib/python3/dist-packages/sage/features
/usr/lib/python3/dist-packages/sage/features/__pycache__
/usr/lib/python3/dist-packages/sagemath_standard-9.5.egg-info
/usr/lib/python3/dist-packages/sagenb_export/nbextension/www
/usr/lib/python3/dist-packages/sage/tests/books
/usr/lib/python3/dist-packages/sage/tests/books/computational-mathematics-with-sagemath
/usr/lib/python3/dist-packages/sage/tests/books/computational-mathematics-with-sagemath/__pycache__
/usr/lib/python3/dist-packages/sage/tests/books/computational-mathematics-with-sagemath/sol
/usr/lib/python3/dist-packages/sage/tests/books/computational-mathematics-with-sagemath/sol/__pycache__
/usr/share
/usr/share/applications
/usr/share/doc
/usr/share/doc-base
/usr/share/doc/sagemath
/usr/share/doc/sagemath-database-conway-polynomials
/usr/share/doc/sagemath-database-elliptic-curves
/usr/share/doc/sagemath-database-graphs
/usr/share/doc/sagemath-database-mutually-combinatorial-designs
/usr/share/doc/sagemath-database-polytopes
/usr/share/doc/sagemath-doc
/usr/share/doc/sagemath-jupyter
/usr/share/icons/hicolor/64x64/apps
/usr/share/icons/hicolor/scalable/apps
/usr/share/jupyter/kernels
/usr/share/jupyter/kernels/sagemath
/usr/share/lintian/overrides
/usr/share/mime/text
/usr/share/sagemath
/usr/share/sagemath/combinatorial_designs
/usr/share/sagemath/conway_polynomials
/usr/share/sagemath/cremona
/usr/share/sagemath/ellcurves
/usr/share/sagemath/graphs
/usr/share/sagemath/reflexive_polytopes
/usr/share/sagemath/reflexive_polytopes/Full2d
/usr/share/sagemath/reflexive_polytopes/Full3d
/var/cache/apt/archives
/var/lib/dpkg/info
/var/lib/swcatalog/icons/debian-bookworm-main/48x48
/var/lib/swcatalog/icons/debian-bookworm-main/64x64
从这里开始,我想遵循与其他用户“相同的路径”,即使用10.x
版本。
示例:最新 (10.3)
但弄清楚该做什么并不容易。尤其是这样提到:
从 Sage 10.2 开始,我们推荐以下发行版,它们提供维护良好且最新的 SageMath 软件包:Arch Linux 和 Void Linux。
您知道我应该如何安装最新的 SageMath 版本吗?