AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1345669
Accepted
Adam
Adam
Asked: 2021-06-14 11:12:34 +0800 CST2021-06-14 11:12:34 +0800 CST 2021-06-14 11:12:34 +0800 CST

如何在 Ubuntu 21.04 上安装 Maxima CAS?

  • 772

首先我检查它是否已安装:

maxima

结果:

The assertion realpath(s,o) on line 471 of main.c in function mbin failed: Invalid argumentAborted (core dumped)

已 确认错误 1926225 - 。

所以我尝试使用 snap:

sudo snap install wxmaxima

然后检查:

 snap find wx

结果 :

Name               Version  Publisher       Notes  Summary
wxmaxima           17.04.1  peterpall       -      A nightly build of wxMaxima, a gui for Maxima, a full-featured CAS.
electronic-wechat  2.0      ubuntu-dawndiy  -      A better WeChat on macOS and Linux. Built with Electron.
sdlvnc             1.3.1    huedawn         -      SDL2 and wxWidgets VNC client.
stars              2.7jrc3  diddledan       -      STARS! The 4X Strategy game
growx              1.1      maumx2          -      GrowX: the Opensource Greenhouse monitoring App
skip               1.0.0    shadowxwarrior  -      SKIP Manager: Let's you skip package management
certbot-dns-inwx   2.1.3    oggy            -      INWX DNS Authenticator plugin for Certbot
rubber-band-async  0.1      andybulka       -      Rubberband wxPython app with wxasync clock
andy-testsnap-py   0.6      andybulka       -      Single-line elevator pitch for your amazing snap

然后尝试运行

 wxmaxima

结果:

(wxmaxima:10141): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Trace/breakpoint trap (core dumped)

所以也许它需要最大值:

sudo apt-get install maxima

结果:

maxima is already the newest version (5.44.0-2).

是否可以在 Ubuntu 21.04 上安装 Maxima CAS?

- - - - - - - - - 编辑 - - - - - - - -

加载(绘制)
执行 '/usr/bin/gcc -c -g -ffile-prefix-map=/build/gcl-UR70am/gcl-2.6.12= 时 execvp 失败。-fstack-protector-strong -Wformat -Werror=format-security -fsigned-char -pipe -fcommon -fno-builtin-malloc -fno-builtin-free -fno-PIE -fno-pie -fno-PIC -fno-pic -Wall -Wno-empty-body -Wno-unused-but-set-variable -I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/gcl-2.6.12/unixport/。 ./h -O2 -c /home/a/.maxima/binary/5_44_0/gcl/GCL_2_6_12/share/draw/grcommon.c -o /home/a/.maxima/binary/5_44_0/gcl/GCL_2_6_12/share/ draw/grcommon.o ': 没有这样的文件或目录
加载文件:无法加载 /usr/share/maxima/5.44.0/share/draw/draw.lisp
 -  一个错误。要调试此尝试: debugmode(true);
(%o17) "/home/a/Dokumenty/ijon/3006/a.mac"
(%i18) 加载(绘制);
执行 '/usr/bin/gcc -c -g -ffile-prefix-map=/build/gcl-UR70am/gcl-2.6.12= 时 execvp 失败。-fstack-protector-strong -Wformat -Werror=format-security -fsigned-char -pipe -fcommon -fno-builtin-malloc -fno-builtin-free -fno-PIE -fno-pie -fno-PIC -fno-pic -Wall -Wno-empty-body -Wno-unused-but-set-variable -I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/gcl-2.6.12/unixport/。 ./h -O2 -c /home/a/.maxima/binary/5_44_0/gcl/GCL_2_6_12/share/draw/grcommon.c -o /home/a/.maxima/binary/5_44_0/gcl/GCL_2_6_12/share/ draw/grcommon.o ': 没有这样的文件或目录

加载文件:无法加载 /usr/share/maxima/5.44.0/share/draw/draw.lisp
 -  一个错误。要调试此尝试: debugmode(true);

是与安装有关的问题吗?我做了一个错误报告

software-installation
  • 1 1 个回答
  • 865 Views

1 个回答

  • Voted
  1. Best Answer
    N0rbert
    2021-06-14T11:57:17+08:002021-06-14T11:57:17+08:00

    因此,deb 打包(官方和来自“maxima 开发人员”团队 PPA)和Snap版本的 Maxima 在 Ubuntu 21.04 上都被破坏了。
    您必须删除 Snap 版本

    snap remove wxmaxima
    

    但是maxima即将到来的 21.10 的包可以正常工作。您可以使用以下方式安装它:

    cd ~/Downloads
    wget http://archive.ubuntu.com/ubuntu/pool/universe/m/maxima/maxima_5.44.0-3_amd64.deb
    sudo apt-get install wxmaxima ./maxima_5.44.0-3_amd64.deb
    

    并按计划使用。

    • 7

相关问题

  • 如何在没有 root 访问权限的情况下安装软件包?

  • 设置 LAMP 堆栈的最简单方法是什么?

  • 我应该在哪里安装 sagemath?

  • How do I install Adobe Flash player?对于 11.10 及更高版本明确修复 11.10 上的 64 位 Flash

  • 如何设置软件中心为非 root 用户安装软件?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve