sagemath
在 Noble (24.04) 的官方存储库中不可用。它一直可用到 Mantic(23.10)。
是否已完全删除?或者它会回来吗?如何在 Ubuntu 24.04 中安装 sagemath?
不幸的是,从源代码构建不是一个选择,因为 gcc/g++ 版本 13 非常不稳定,它不再能够在不不断弹出臭名昭著的“内部编译器错误”的情况下构建如此庞大的项目。
sagemath
在 Noble (24.04) 的官方存储库中不可用。它一直可用到 Mantic(23.10)。
是否已完全删除?或者它会回来吗?如何在 Ubuntu 24.04 中安装 sagemath?
不幸的是,从源代码构建不是一个选择,因为 gcc/g++ 版本 13 非常不稳定,它不再能够在不不断弹出臭名昭著的“内部编译器错误”的情况下构建如此庞大的项目。
我已经在 Ubuntu 18.04 中安装了 SageMath。但是我无法从应用程序启动 sagemath(实际上它甚至不存在)也不能从命令行启动。
(base) dimitris@dimitris-Inspiron-5567:~$ sudo apt-get install sagemath
[sudo] password for dimitris:
Reading package lists... Done
Building dependency tree
Reading state information... Done
sagemath is already the newest version (8.1-7ubuntu1).
The following packages were automatically installed and are no longer required:
libbsd0:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386
libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386
libffi6:i386 libgl1:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
libglapi-mesa:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386
libllvm7:i386 libmpcdec6 libostree-1-1 libpciaccess0:i386 libplacebo4
libsensors4:i386 libstdc++6:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386
libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386
libxcb-sync1:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386
libxfixes3:i386 libxinerama1:i386 libxshmfence1:i386 libxss1:i386
libxxf86vm1:i386 xdg-desktop-portal xdg-desktop-portal-gtk
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(base) dimitris@dimitris-Inspiron-5567:~$ sagemath
sagemath: command not found
当我输入
apt list --installed
我在已安装的应用程序列表中看到了 sagemath。
我曾经在 16.04 中使用 sagemath 没有问题。18.04有什么问题吗?我错过了什么吗?非常感谢您提前。
最近,我安装了 Ubuntu 64amd,使 duak 启动与 Windows 7 32 位。一切正常,但我无法在其中安装 sagemath。即使代码正确,它也会显示“无法找到包 sagemath-upstream-binary”。我可以知道为什么吗?
这是我使用的完整代码:
sudo apt-add-repository -y ppa:aims/sagemath
sudo apt-get update
sudo apt-get install sagemath-upstream-binary
以下是终端代码:
kutubuddin@kutubuddin-h81m-s:~$ sudo apt-add-repository -y ppa:aims/sagemath
[sudo] password for kutubuddin:
Ign:1 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [69.9 kB]
Err:3 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic Release
404 Not Found [IP: 91.189.xx.xx xx]
Hit:4 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:6 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/aims/sagemath/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
kutubuddin@kutubuddin-h81m-s:~$ sudo apt-get update
Ign:1 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [69.9 kB]
Hit:3 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Err:4 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic Release
404 Not Found [IP: 91.189.xx.xx.xx]
Get:5 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease [65.4 kB]
Hit:6 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/aims/sagemath/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
kutubuddin@kutubuddin-h81m-s:~$ sudo apt-get install sagemath-upstream-binary
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sagemath-upstream-binary