如何在 Ubuntu 18.04 上安装 sciDAVis?

How to install sciDAVis on Ubuntu 18.04?

由于两个未找到的依赖项,在 Ubuntu 18.04 上安装 sciDAVis .deb 文件失败。如何安装这些依赖项?

我正在使用 scidavis_1.D23_amd64.deb 安装文件。

这是安装失败的报告:

$ sudo dpkg -i scidavis_1.D23_amd64.deb
Selecting previously unselected package scidavis.
(Reading database ... 406985 files and directories currently 
installed.)
Preparing to unpack scidavis_1.D23_amd64.deb ...
Unpacking scidavis (1.D23) ...
dpkg: dependency problems prevent configuration of scidavis:
 scidavis depends on libgsl2; however:
  Package libgsl2 is not installed.
 scidavis depends on libqwtplot3d-qt4-0v5 (>= 0.2.7); however:
  Package libqwtplot3d-qt4-0v5 is not installed.

dpkg: error processing package scidavis (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) 
...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.8.3-2) ...
Processing triggers for shared-mime-info (1.9-2) ...
Errors were encountered while processing:
 scidavis

我试过 sudo apt install libgsl2 但失败并显示消息

Package libgsl2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libgslcblas0:i386 libgslcblas0

libgslcblas0 已经安装在我的系统上,apt 报告它是最新版本。

同样,libqwtplot3d-qt4-0v5 不可用于 apt 安装。

有解决办法吗?或者 sciDAVis 不会在 18.04 运行?

非常感谢。

这确实可以解决问题。

sudo apt install -fy

那是在您发出的 dpkg 命令之后。上面的命令将丢失的位放在一起。

如果有人想在 Linux 上安装最新的 SciDAVis 版本,但使用的发行版没有正式提供,那么最好的方法是查看 [[=​​11=]] 是一个存储库在由 SciDAVis 开发人员 Russell Standish 维护的 OpenSUSE 构建服务中)。如果您的发行版在此处列出,请单击其徽标,然后单击名为 "Add repository manually" 的 link。因此,请按照您在计算机中安装的版本的说明进行操作。

例如,要在 (K/X)Ubuntu 18.04 上安装 SciDAVis 1.D23,请执行以下操作:

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/hpcoder1/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/home:hpcoder1.list"
sudo apt-get update
sudo apt-get install scidavis

[1]中没有的信息:根据我自己的经验,如果使用上述过程安装失败,请在运行 [=22]之前尝试卸载SciDAVis deps¹ =]

¹ libmuparser*、libqwt*、libqwtplot3d*

echo "deb http://cz.archive.ubuntu.com/ubuntu xenial main universe" 
>>/etc/apt/sources.list 
sudo apt-get update
sudo apt-get install scidavis

要在 Ubuntu 18.04 运行 中安装 Scidavis,请执行以下操作:

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/hpcoder1/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/home:hpcoder1.list"

您可以将存储库密钥添加到 apt。请记住,密钥的所有者可能会分发您的系统信任的更新、程序包和存储库(更多信息)。要添加密钥,运行:

wget -nv https://download.opensuse.org/repositories/home:hpcoder1/xUbuntu_18.04/Release.key -O Release.key

sudo apt-key 添加 - < Release.key

sudo apt-get update

sudo apt-get install scidavis

更多详情请访问 https://software.opensuse.org//download.html?project=home%3Ahpcoder1&package=scidavis

如果你有 Ubuntu 18.04 使用这个:

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/hpcoder1/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/home:hpcoder1.list"

wget -nv https://download.opensuse.org/repositories/home:hpcoder1/xUbuntu_18.04/Release.key -O Release.key

sudo apt-key add - < Release.key

sudo apt-get update

sudo apt-get install scidavis

对于 xUbuntu 14.04 至 xUbuntu 19.04 访问此页面: https://software.opensuse.org//download.html?project=home%3Ahpcoder1&package=scidavis