无法在 Ubuntu 18.04 中启动 Sagemath

无法在 Ubuntu 18.04 中启动 Sagemath

我在 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 有问题吗?我遗漏了什么吗?提前谢谢您。

答案1

Sage 的主可执行文件sage名为sagemath-common包。
此包作为依赖项安装sagemath包裹

因此,您只需给出单个命令:

sage

相关内容