Modelio
Modelio copied to clipboard
Could not install on Ubuntu 24.04 (derivative)
I wanted to install Modelio 5.4.1 on Linux Mint 22, but install (using the modelio-open-source-5.4.1_amd64.deb) fails with
This package is uninstallable
Dependency is not satisfiable: libwebkit2gtk-4.0-37 (>= 2.24)|libwebkitgtk-3.0-0 (<= 2.4.11-3)
probably because the installed version is libwebkit2gtk-4.1-0.
The system is a Lenovo notebook with i5-8250U and 8GM RAM.
Kernel: 6.8.0-48-generic arch: x86_64 bits: 64 Desktop: Xfce v: 4.18.1 Distro: Linux Mint 22 Wilma
As the release notes for v5.1.0 state: The libwebkitgtk-3.0-0 library is mandatory for Modelio but it's no longer available in the official repositories for later versions of Ubuntu.
The following procedure has to be applied : sudo nano /etc/apt/sources.list
Add the following line and save: deb http://fr.archive.ubuntu.com/ubuntu bionic main universe
sudo apt-get update sudo apt-get install libwebkitgtk-3.0-0
These steps are copied from the release notes of v5.1.0: https://github.com/ModelioOpenSource/Modelio/releases/tag/v5.1.0
On Linux Mint you can do the same using Software Sources app and navigating to Additional Repositories.
Thanks for pointing me there, I clearly overlooked the info.
However, I don´t think I want to go this direction, except maybe only in a containerized install: https://www.cvedetails.com/vulnerability-list/vendor_id-11350/product_id-20596/Webkitgtk-Webkitgtk.html ...
If someone on Ubuntu 24.04 is having an issue with adding the source
deb http://fr.archive.ubuntu.com/ubuntu bionic main universe
with an error such as The following signatures couldn't be verified because the public key is not available
You must identify the key, e.g 3B4FE6ACC0B21F32, and then add the key signature :
sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo gpg --export --armor 3B4FE6ACC0B21F32 | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/3B4FE6ACC0B21F32.gpg
My workaround on Ubuntu 24.04, without modifying your apt source is to download those debian files :
- https://debian.pkgs.org/12/debian-main-amd64/libwebkit2gtk-4.0-37_2.46.0-2~deb12u1_amd64.deb.html
- https://debian.pkgs.org/12/debian-main-amd64/libjavascriptcoregtk-4.0-18_2.46.0-2~deb12u1_amd64.deb.html
- https://debian.pkgs.org/12/debian-main-amd64/libicu72_72.1-3_amd64.deb.html
- https://debian.pkgs.org/12/debian-main-amd64/libavif15_0.11.1-1_amd64.deb.html
- https://debian.pkgs.org/12/debian-main-amd64/libdav1d6_1.0.0-2+deb12u1_amd64.deb.html
- https://debian.pkgs.org/12/debian-main-amd64/libsvtav1enc1_1.4.1+dfsg-1_amd64.deb.html
- https://debian.pkgs.org/12/debian-main-amd64/libjpeg62-turbo_2.1.5-2_amd64.deb.html
Then you should install them with sudo apt install ./{}.deb in backward order.
After that you should download the modelio deb file :
- https://github.com/ModelioOpenSource/Modelio/releases/tag/v5.4.1
And finally doing sudo apt install ./{modelio}.deb should work
@Hennzau Thanks, that did the trick :) I still have it installed in a virtual machine, not on the main computer, due to security concerns.
Install fails on 24.04.3, even pre-installing libwebkitgtk-3.0-0. The full log is below. The instructions above rely on old programmes like apt-get that will fail on a modern Ubuntu release. But even with aptitude there seems to be no way around current dependencies.
I would advise investing on a PPA. Usually it will serve any distribution based on Debian.
Some years back someone started an attempt at a Nix package. Completing that could also greatly simply install.
$ uname -a
Linux Symbolic 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ wget https://github.com/ModelioOpenSource/Modelio/releases/download/v5.4.1/modelio-open-source-5.4.1_amd64.deb
--2025-09-22 10:58:17-- https://github.com/ModelioOpenSource/Modelio/releases/download/v5.4.1/modelio-open-source-5.4.1_amd64.deb
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://release-assets.githubusercontent.com/github-production-release-asset/292531488/63e5eace-88e8-4ee6-9846-4906bf19dd2f?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-22T10%3A55%3A04Z&rscd=attachment%3B+filename%3Dmodelio-open-source-5.4.1_amd64.deb&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-22T09%3A54%3A34Z&ske=2025-09-22T10%3A55%3A04Z&sks=b&skv=2018-11-09&sig=uhkeYqdtqlp0PB8I5RgSOiJF0tI5nQNH8BD8leXUUpg%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODUzNTM5OCwibmJmIjoxNzU4NTM1MDk4LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.M8naKXeTAY-EqgyvJEvbVKt9A47qmwnC9HsFcfgDX3c&response-content-disposition=attachment%3B%20filename%3Dmodelio-open-source-5.4.1_amd64.deb&response-content-type=application%2Foctet-stream [following]
--2025-09-22 10:58:18-- https://release-assets.githubusercontent.com/github-production-release-asset/292531488/63e5eace-88e8-4ee6-9846-4906bf19dd2f?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-22T10%3A55%3A04Z&rscd=attachment%3B+filename%3Dmodelio-open-source-5.4.1_amd64.deb&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-22T09%3A54%3A34Z&ske=2025-09-22T10%3A55%3A04Z&sks=b&skv=2018-11-09&sig=uhkeYqdtqlp0PB8I5RgSOiJF0tI5nQNH8BD8leXUUpg%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODUzNTM5OCwibmJmIjoxNzU4NTM1MDk4LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.M8naKXeTAY-EqgyvJEvbVKt9A47qmwnC9HsFcfgDX3c&response-content-disposition=attachment%3B%20filename%3Dmodelio-open-source-5.4.1_amd64.deb&response-content-type=application%2Foctet-stream
Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.108.133, ...
Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 295368540 (282M) [application/octet-stream]
Saving to: ‘modelio-open-source-5.4.1_amd64.deb’
modelio-open-source-5.4.1_amd 100%[================================================>] 281,68M 56,2MB/s in 5,1s
2025-09-22 10:58:23 (55,5 MB/s) - ‘modelio-open-source-5.4.1_amd64.deb’ saved [295368540/295368540]
$ sudo vim /etc/apt/sources.list
$ sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo gpg --export --armor 3B4FE6ACC0B21F32 | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/3B4FE6ACC0B21F32.gpg
gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 3B4FE6ACC0B21F32: public key "Ubuntu Archive Automatic Signing Key (2012) <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1
$ sudo aptitude install libwebkitgtk-3.0-0
The following NEW packages will be installed:
enchant{a} libegl1-mesa{a} libenchant1c2a{a} libgdk-pixbuf-xlib-2.0-0{a} libgdk-pixbuf2.0-0{a}
libhunspell-1.6-0{a} libicu60{a} libjavascriptcoregtk-3.0-0{a} libwebkitgtk-3.0-0 libwebp6{a}
The following partially installed packages will be configured:
modelio-open-source5.4{b}
0 packages upgraded, 10 newly installed, 0 to remove and 5 not upgraded.
Need to get 18,4 MB of archives. After unpacking 75,9 MB will be used.
Do you want to continue? [Y/n/?] Y
Get: 1 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 libicu60 amd64 60.2-3ubuntu3 [8054 kB]
Get: 2 http://archive.ubuntu.com/ubuntu noble/universe amd64 libgdk-pixbuf-xlib-2.0-0 amd64 2.40.2-3build2 [42,3 kB]
Get: 3 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 libhunspell-1.6-0 amd64 1.6.2-1 [154 kB]
Get: 4 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 libenchant1c2a amd64 1.6.0-11.1 [64,4 kB]
Get: 5 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 enchant amd64 1.6.0-11.1 [12,2 kB]
Get: 6 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 libegl1-mesa amd64 18.0.0~rc5-1ubuntu1 [5064 B]
Get: 7 http://fr.archive.ubuntu.com/ubuntu bionic/universe amd64 libjavascriptcoregtk-3.0-0 amd64 2.4.11-3ubuntu3 [1844 kB]
Get: 8 http://archive.ubuntu.com/ubuntu noble/universe amd64 libgdk-pixbuf2.0-0 amd64 2.40.2-3build2 [2454 B]
Get: 9 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 libwebp6 amd64 0.6.1-2 [185 kB]
Get: 10 http://fr.archive.ubuntu.com/ubuntu bionic/universe amd64 libwebkitgtk-3.0-0 amd64 2.4.11-3ubuntu3 [8030 kB]
Fetched 18,4 MB in 1s (24,5 MB/s)
Selecting previously unselected package libicu60:amd64.
(Reading database ... 645580 files and directories currently installed.)
Preparing to unpack .../0-libicu60_60.2-3ubuntu3_amd64.deb ...
Unpacking libicu60:amd64 (60.2-3ubuntu3) ...
Selecting previously unselected package libhunspell-1.6-0:amd64.
Preparing to unpack .../1-libhunspell-1.6-0_1.6.2-1_amd64.deb ...
Unpacking libhunspell-1.6-0:amd64 (1.6.2-1) ...
Selecting previously unselected package libenchant1c2a:amd64.
Preparing to unpack .../2-libenchant1c2a_1.6.0-11.1_amd64.deb ...
Unpacking libenchant1c2a:amd64 (1.6.0-11.1) ...
Selecting previously unselected package enchant.
Preparing to unpack .../3-enchant_1.6.0-11.1_amd64.deb ...
Unpacking enchant (1.6.0-11.1) ...
Selecting previously unselected package libegl1-mesa:amd64.
Preparing to unpack .../4-libegl1-mesa_18.0.0~rc5-1ubuntu1_amd64.deb ...
Unpacking libegl1-mesa:amd64 (18.0.0~rc5-1ubuntu1) ...
Selecting previously unselected package libgdk-pixbuf-xlib-2.0-0:amd64.
Preparing to unpack .../5-libgdk-pixbuf-xlib-2.0-0_2.40.2-3build2_amd64.deb ...
Unpacking libgdk-pixbuf-xlib-2.0-0:amd64 (2.40.2-3build2) ...
Selecting previously unselected package libgdk-pixbuf2.0-0:amd64.
Preparing to unpack .../6-libgdk-pixbuf2.0-0_2.40.2-3build2_amd64.deb ...
Unpacking libgdk-pixbuf2.0-0:amd64 (2.40.2-3build2) ...
Selecting previously unselected package libjavascriptcoregtk-3.0-0:amd64.
Preparing to unpack .../7-libjavascriptcoregtk-3.0-0_2.4.11-3ubuntu3_amd64.deb ...
Unpacking libjavascriptcoregtk-3.0-0:amd64 (2.4.11-3ubuntu3) ...
Selecting previously unselected package libwebp6:amd64.
Preparing to unpack .../8-libwebp6_0.6.1-2_amd64.deb ...
Unpacking libwebp6:amd64 (0.6.1-2) ...
Selecting previously unselected package libwebkitgtk-3.0-0:amd64.
Preparing to unpack .../9-libwebkitgtk-3.0-0_2.4.11-3ubuntu3_amd64.deb ...
Unpacking libwebkitgtk-3.0-0:amd64 (2.4.11-3ubuntu3) ...
Setting up libhunspell-1.6-0:amd64 (1.6.2-1) ...
Setting up libgdk-pixbuf-xlib-2.0-0:amd64 (2.40.2-3build2) ...
Setting up libenchant1c2a:amd64 (1.6.0-11.1) ...
Setting up libegl1-mesa:amd64 (18.0.0~rc5-1ubuntu1) ...
Setting up libgdk-pixbuf2.0-0:amd64 (2.40.2-3build2) ...
Setting up enchant (1.6.0-11.1) ...
Setting up libicu60:amd64 (60.2-3ubuntu3) ...
Setting up libwebp6:amd64 (0.6.1-2) ...
Setting up libjavascriptcoregtk-3.0-0:amd64 (2.4.11-3ubuntu3) ...
Setting up libwebkitgtk-3.0-0:amd64 (2.4.11-3ubuntu3) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for libc-bin (2.39-0ubuntu8.5) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for shared-mime-info (2.4-4) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Current status: 0 (-1) broken, 61544 (-1) new.
$ sudo dpkg -i modelio-open-source-5.4.1_amd64.deb
Selecting previously unselected package modelio-open-source5.4.
(Reading database ... 645716 files and directories currently installed.)
Preparing to unpack modelio-open-source-5.4.1_amd64.deb ...
Unpacking modelio-open-source5.4 (5.4.1-202312071609) ...
dpkg: dependency problems prevent configuration of modelio-open-source5.4:
modelio-open-source5.4 depends on libwebkit2gtk-4.0-37 (>= 2.24) | libwebkitgtk-3.0-0 (<= 2.4.11-3); however:
Package libwebkit2gtk-4.0-37 is not installed.
Version of libwebkitgtk-3.0-0:amd64 on system is 2.4.11-3ubuntu3.
dpkg: error processing package modelio-open-source5.4 (--install):
dependency problems - leaving unconfigured
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (2.4-4) ...
Errors were encountered while processing:
modelio-open-source5.4