由于两个未找到的依赖项,在Ubuntu18.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也无法用于易于安装。
有解决办法吗?或者sciDAVis还不会在18.04上运行?
非常感谢。
发布于 2018-06-21 18:07:57
这应该真的很管用。
sudo apt install -fy
这是在您提供的dpkg
命令之后。上面的命令将缺失的比特集合在一起。
发布于 2019-01-28 11:59:50
如果有人想在Linux上安装最新的SciDAVis版本,但所使用的发行版并没有正式提供它,那么最好的方法是查看[1],以查看所使用的发行版是否受支持([1]是由SciDAVis开发人员Russell维护的OpenSUSE构建服务的存储库)。如果您的发行版列出在那里,点击它的标志,然后在链接名为“添加存储库手动”。因此,请按照您在计算机中安装的版本的说明操作。
例如,要在(K/X)Ubuntu18.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]中没有的信息:根据我自己的经验,如果使用上述过程的安装失败,那么在运行"sudo apt-get install scidavis“之前,尝试卸载SciDAVis deps。
1 libmu分析器*、libqwt*、libqwtplot3d*
发布于 2019-08-20 07:39:28
要在Ubuntu18.04中安装Scidavis,请运行以下:
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/hpcoder1/xUbuntu_18.04/ /‘>/etc/apt/sudo.list.d/home:hpcoder1.list“
您可以将存储库键添加到apt。请记住,密钥的所有者可能分发系统信任的更新、包和存储库(更多信息)。若要添加密钥,请运行:
wget -nv https://download.opensuse.org/repositories/home:hpcoder1/xUbuntu_18.04/Release.key -O Release.key
数独-键加-< Release.key
sudo apt-get update
sudo apt-获取安装scidavis
欲知详情,请访问https://software.opensuse.org//download.html?project=home%3Ahpcoder1&package=scidavis
https://stackoverflow.com/questions/50955824
复制相似问题