Error installing on Ubuntu

Install support for openEMS

Moderators: thorsten, sebastian

Post Reply
pwcunning
Posts: 2
Joined: Thu 04 Jul 2019, 21:32

Error installing on Ubuntu

Post by pwcunning » Thu 04 Jul 2019, 21:36

Not sure what these errors mean.. looks like its saying required files do not exist

~$ sudo apt-get install build-essential cmake git libhdf5-dev libvtk5-dev libboost-all-dev libcgal-dev libtinyxml-dev libqt4-dev libvtk5-qt4-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libvtk5-dev 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:
libvtk7-dev:i386 libvtk6-dev:i386 libvtk7-dev libvtk6-dev

Package libvtk5-qt4-dev 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

E: Package 'libvtk5-dev' has no installation candidate
E: Package 'libvtk5-qt4-dev' has no installation candidate

smerrett79
Posts: 28
Joined: Thu 23 May 2019, 18:05

Re: Error installing on Ubuntu

Post by smerrett79 » Thu 04 Jul 2019, 22:54

http://www.openems.de/forum/viewtopic.php?f=2&t=652

You seem to have the same problem as many people who are following the online instructions (which seem out of date). If you install vtk7 instead, then you should be fine. If you don't feel comfortable with installing from the command line, you can use synaptic to look for what's available and install from there. You can also find the libvtkX-qt-dev package from there too.

pwcunning
Posts: 2
Joined: Thu 04 Jul 2019, 21:32

Re: Error installing on Ubuntu

Post by pwcunning » Thu 04 Jul 2019, 23:22

Thanks.. so what would be the updated command line to install?

smerrett79
Posts: 28
Joined: Thu 23 May 2019, 18:05

Re: Error installing on Ubuntu

Post by smerrett79 » Thu 04 Jul 2019, 23:59

~$ sudo apt-get install libvtk7-dev
If that doesn't work, use a package manager

Post Reply