Search code examples
gslubuntu-18.04

How to install sciDAVis on Ubuntu 18.04?


Installing the sciDAVis .deb file on Ubuntu 18.04 fails due to two unfound dependencies. How do I install these dependencies?

I'm using the scidavis_1.D23_amd64.deb installation file.

Here's the failed installation report:

$ 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

I've tried sudo apt install libgsl2 which fails with the message

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 is already installed on my system, and apt reports that it is the latest version.

Likewise, libqwtplot3d-qt4-0v5 is not available for apt to install.

Is there a solution? Or will sciDAVis not yet run on 18.04?

Thanks very much.


Solution

  • This should do the trick really.

    sudo apt install -fy
    

    That is after the dpkg command you put up. The above command gets the missing bits together.