Install on Ubuntu 22.04

1,149 views
Skip to first unread message

mholl...@gmail.com

unread,
Jun 19, 2022, 10:35:27 AM6/19/22
to OpenVSP
Hi All,

I'm trying to install OpenVSP on an Ubuntu 22.04 system.

I downloaded the 20.04 version from the OpenVSP downloads page.

Using the standard dpkg install method, I got the following:

$ sudo dpkg -i OpenVSP-3.28.0-Ubuntu-20.04_amd64.deb
Selecting previously unselected package openvsp.
(Reading database ... 551073 files and directories currently installed.)
Preparing to unpack OpenVSP-3.28.0-Ubuntu-20.04_amd64.deb ...
Unpacking openvsp (3.28.0) ...
dpkg: dependency problems prevent configuration of openvsp:
openvsp depends on libcminpack1 (>= 1.1.3); however:
 Package libcminpack1 is not installed.
openvsp depends on libfltk-gl1.3 (>= 1.3.0); however:
 Package libfltk-gl1.3 is not installed.
openvsp depends on libfltk1.3 (>= 1.3.4); however:
 Package libfltk1.3 is not installed.
openvsp depends on libglew2.1 (>= 1.12.0); however:
 Package libglew2.1 is not installed.
openvsp depends on libpython3.8 (>= 3.8.2); however:
 Package libpython3.8 is not installed.

dpkg: error processing package openvsp (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:


Using gdebi, I get the following:

$ gdebi OpenVSP-3.28.0-Ubuntu-20.04_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libglew2.1 (>= 1.12.0)

Has anyone else run across this issue?

Cheers,
Moshe.

Rob McDonald

unread,
Jun 19, 2022, 1:23:38 PM6/19/22
to ope...@googlegroups.com
From what I can tell, dpkg -i does not install dependencies -- so it appears to mark them and is behaving as expected.

gdebi should then resolve those dependencies.  It appears to work for most of them, but not for libglew.

libglew is available for Ubuntu 22.04 see libglew and libglew-dev .

You might try installing one or both of those manually.

You might also try running 'sudo apt-get install -f'  It should go through and install any required dependencies.

Rob




--
You received this message because you are subscribed to the Google Groups "OpenVSP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openvsp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openvsp/85a84122-d397-4d17-bf12-0319fa1adac6n%40googlegroups.com.

Moshe Hollander

unread,
Jun 20, 2022, 12:02:08 PM6/20/22
to OpenVSP
Finally managed to get it installed.

Just wanted to let people know that there were also a bunch of 'outdated' libpython3.8 related packages that needed to be manually downloaded and installed in order to get everything to install (using gdebi).

Cibin Joseph

unread,
Jun 21, 2022, 9:06:58 AM6/21/22
to ope...@googlegroups.com
I see you got the issue resolved. That's reassuring!
Just wanted to add that I usually keep a tag on Linux issues. However, I'm a bit occupied finishing off my thesis work.
I'll look into this in a few weeks, if there is a dependency issue that persists.

- Cibin




Fabien R

unread,
Jun 22, 2022, 9:30:32 AM6/22/22
to ope...@googlegroups.com
On 21/06/2022 15:06, Cibin Joseph wrote:
> I see you got the issue resolved. That's reassuring!
> Just wanted to add that I usually keep a tag on Linux issues. However, I'm
> a bit occupied finishing off my thesis work.
> I'll look into this in a few weeks, if there is a dependency issue that
> persists.
>
> - Cibin
I installed from the sources of the git repo on debian bullseye.
It compiled flawlessly.
Tell me if you want additional info.
--
Fabien

marco

unread,
Jun 27, 2022, 1:35:14 PM6/27/22
to OpenVSP
For me installing OpenVSP-3.28.0-Ubuntu-20.04_amd64.deb failed when trying to install it through the software install manager.
I then tried $ sudo apt-get install -f /home/name/Downloads/OpenVSP-3.28.0-Ubuntu-20.04_amd64.deb  in a terminal window.
it came back with the error;
"The following packages have unmet dependencies:
       openvsp : Depends: libglew2.1 (>= 1.12.0) but it is not installable
                         Depends: libpython3.8 (>= 3.8.2) but it is not installable"
It seems libglew2.2
and python3.10.4 are supplied with Ubuntu 22.04

Did you downgrade those packages to get it working on your system?


Op woensdag 22 juni 2022 om 15:30:32 UTC+2 schreef Fabien R:

Cibin Joseph

unread,
Jun 27, 2022, 4:38:05 PM6/27/22
to ope...@googlegroups.com
Marco,

That installation file will only work on Ubuntu 20.04.
For Ubuntu 22.04, you'll need to compile the source to a deb file for installation by following the instructions in the wiki here.
Alternatively, you can just run this bash 'automated' build script to generate the deb file. Note that it will take around 20-30 minutes.
I was able to generate the deb file on a fresh Ubuntu 22.04 system without changes to the existing build script.

- Cibin

--
You received this message because you are subscribed to the Google Groups "OpenVSP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openvsp+u...@googlegroups.com.

Rob McDonald

unread,
Jun 27, 2022, 5:19:18 PM6/27/22
to ope...@googlegroups.com
I just posted a *.deb file for Ubuntu 22.04 on the openvsp.org web site.

I would appreciate it if someone with a 22.04 machine (preferably without having installed a ton of packages trying to get prior versions to work) would test this and confirm that it is good.

Please let me know your experience no matter what.

Rob


Cibin Joseph

unread,
Jun 27, 2022, 6:04:17 PM6/27/22
to ope...@googlegroups.com
Rob,
Just checked. The Ubutnu 22.04 deb file works on a fresh install after updating the repositories.

- Cibin

marco

unread,
Jun 27, 2022, 6:38:53 PM6/27/22
to OpenVSP
I just finished building from the git source against my local machine and that version installed. Though the openvsp_build_script.sh was not a one click install. Some manual help got me there.
Thanks for the help in getting me there Chibin.
Ah, I  just missed the version compiled by Rob on the .org site

Op dinsdag 28 juni 2022 om 00:04:17 UTC+2 schreef cibinj...@gmail.com:
Reply all
Reply to author
Forward
0 new messages