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
    • 最新
    • 标签
主页 / user-214295

Adam's questions

Martin Hope
Adam
Asked: 2022-10-31 05:56:29 +0800 CST

为什么 test --help 不起作用?

  • 7

我的 Ubuntu 运行良好。

$ lsb_release -a
LSB Version:    core-11.1.0ubuntu4-noarch:printing-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:    22.04
Codename:   jammy

当我尝试内置 bashtest命令时:

test --version
test --help

我看不到输出。

什么有效:

  • man test提供手册页(GNU coreutils 8.32)
  • info test|more
  • test -1 -gt -2 && echo yes

表明

TEST(1)                          User Commands                         TEST(1)

NAME
       test - check file types and compare values

SYNOPSIS
       test EXPRESSION
       test
       [ EXPRESSION ]
       [ ]
       [ OPTION

DESCRIPTION
       Exit with the status determined by EXPRESSION.

       --help display this help and exit

       --version

那

test --version

应该管用。

问题出在哪里?

bash
  • 1 个回答
  • 54 Views
Martin Hope
Adam
Asked: 2021-06-14 11:12:34 +0800 CST

如何在 Ubuntu 21.04 上安装 Maxima CAS?

  • 2

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

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 个回答
  • 865 Views
Martin Hope
Adam
Asked: 2020-11-07 09:52:03 +0800 CST

如何在 Ubuntu 20 中安装 rsvg-view?

  • 0

我知道我应该安装 librsvg2-bin

sudo apt-get update
sudo apt-get install librsvg2-bin

但在那之后:

rsvg-view-3
rsvg-view-3: command not found

所以它不起作用。所以我寻找命令:

locate rsvg-view-3
/snap/gnome-3-34-1804/36/usr/bin/rsvg-view-3
/snap/gnome-3-34-1804/60/usr/bin/rsvg-view-3

find rsvg-view-3
find: ‘rsvg-view-3’: No such file or directory

使用 snap :

snap list
Name                             Version                     Rev    Tracking         Publisher     Notes
acrordrdc                        2018.011.20063              8      latest/stable    mmtrt         -
canonical-livepatch              9.5.5                       95     latest/stable    canonical✓    -
chromium                         86.0.4240.183               1382   latest/stable    canonical✓    -
core                             16-2.47.1                   10185  latest/stable    canonical✓    core
core18                           20200929                    1932   latest/stable    canonical✓    base
emacs                            27.1                        857    latest/stable    alexmurray    classic
gimp                             2.10.20                     297    latest/stable    snapcrafters  -
gnome-3-28-1804                  3.28.0-19-g98f9e67.98f9e67  145    latest/stable    canonical✓    -
gnome-3-34-1804                  0+git.3556cb3               60     latest/stable/…  canonical✓    -
gtk-common-themes                0.1-36-gc75f853             1506   latest/stable/…  canonical✓    -
kde-frameworks-5-core18          5.61.0                      32     latest/stable    kde✓          -
kde-frameworks-5-qt-5-14-core18  5.68.0                      4      latest/stable    kde✓          -
krita                            4.4.1                       61     latest/stable    krita✓        -
okular                           20.04.0                     98     latest/stable    kde✓          -
snap-store                       3.36.0-82-g80486d0          481    latest/stable/…  canonical✓    -
snapd                            2.47.1                      9721   latest/stable    canonical✓    snapd
vlc                              3.0.11                      1700   latest/stable    videolan✓     -
wine-platform-3-stable           3.0.4                       6      latest/stable    mmtrt         -
wine-platform-runtime            v1.0                        183    latest/stable    mmtrt         -
wxmaxima                         17.07.0~git                 164    latest/edge      peterpall     -

我可以使用它:

/snap/gnome-3-34-1804/60/usr/bin/rsvg-view-3

这是怎么回事 ?

svg libraries snap
  • 1 个回答
  • 1343 Views

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