Ada*_*dam 2 software-installation snap 21.04
首先我检查它是否安装:
maxima
Run Code Online (Sandbox Code Playgroud)
结果:
The assertion realpath(s,o) on line 471 of main.c in function mbin failed: Invalid argumentAborted (core dumped)
Run Code Online (Sandbox Code Playgroud)
已 确认错误 1926225 - 。
所以我尝试使用 snap:
sudo snap install wxmaxima
Run Code Online (Sandbox Code Playgroud)
然后检查:
snap find wx
Run Code Online (Sandbox Code Playgroud)
结果 :
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
Run Code Online (Sandbox Code Playgroud)
然后尝试运行
wxmaxima
Run Code Online (Sandbox Code Playgroud)
结果:
(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)
Run Code Online (Sandbox Code Playgroud)
所以也许它需要最大值:
sudo apt-get install maxima
Run Code Online (Sandbox Code Playgroud)
结果:
maxima is already the newest version (5.44.0-2).
Run Code Online (Sandbox Code Playgroud)
是否可以在 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);
是不是安装有问题?我做了一个错误报告
因此 deb 打包的(官方的和来自“ Maxima开发人员”团队 PPA)和Snap版本的 Maxima 在 Ubuntu 21.04 上都被破坏了。
您必须删除 Snap 版本
snap remove wxmaxima
Run Code Online (Sandbox Code Playgroud)
但是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
Run Code Online (Sandbox Code Playgroud)
并按计划使用。
| 归档时间: |
|
| 查看次数: |
313 次 |
| 最近记录: |