I can't install xojo 2024.r1.1 on ubuntu 22.04

I can’t install it because the following message appears:

The following packages have unmet dependencies:
xojo2024r1.1: 依存: libwebkit2gtk-4.0-37 (>= 1.0.0) but it is not installable or
libwebkit2gtk-3.0-25 (>= 1.0.0) but it is not installable or
libwebkitgtk-3.0-0 (>= 1.0.0) but it is not installable

What should I do now?
Could someone please give me a hint?

I’m using Google Translate, so sorry if the English is weird.

I guess your Ubuntu is missing the right library.
Check: System requirements — Xojo documentation

1 Like

I searched for apt and tried installing everything that came up in the search results, but the result was the same.
Do you know what the package is called?

sudo apt search libwebkit2gtk
sudo apt install libwebkit2gtk-4.0-doc
sudo apt install libwebkit2gtk-4.1-0
sudo apt install libwebkit2gtk-4.1-dev

sudo apt search libwebkit2gtk
sudo apt install libwebkit2gtk-4.0-doc
sudo apt install libwebkit2gtk-4.1-0
sudo apt install libwebkit2gtk-4.1-dev

sudo apt search libwebkitgtk
sudo apt install libwebkitgtk-6.0-4
sudo apt install libwebkitgtk-6.0-dev
sudo apt install libwebkitgtk-doc

I’m sorry, I don’t use Xojo on Linux.

Try on the CLI sudo apt install libwebkit2gtk*

Should find the package and dependencies

sudo apt install libwebkit2gtk*
libwebkit2gtk-4.1-0
libwebkit2gtk-4.0-doc
libwebkit2gtk-4.1-dev

The following three are displayed, but they have already been installed.

Are you using the deb package or TGZ?

If using the deb try unpacking the TGZ into some directory and running Xojo

I’m trying to install it with a deb package.
If it is tgz, the unzipped version is working.
Is it not possible to install it with a deb package?

Should be able to use deb package yes BUT sounds like there could be a problem with the package?

I would use the TGZ for now and report the package problem so Xojo can confirm it needs fixing or give you a hint how to install the deb package

Are you really using 22.04 or the all new latest 24.04?

sorry.
It was a typo.
It was 24.04, not 22.04

Maybe try these instruction which worked on Xojo 2022 r4.1 on 64-bit Ubuntu?

Unfortunately, the result was the same and I could not install it

Have you tried using dpkg to install?

dpkg -i <path to deb installer>

You may need to make sure that those libraries aren’t snap packages on 24.04. that could be causing the problem.

The deb installs it to your opt folder, extracting the tar to there is essentially the same action. Does it still have the problem when you extract there?

Could not install.

sudo dpkg -i /home/xxxx/Downloads/xojo2024r11.deb
Selecting previously unselected package xojo2024r1.1.
(Reading database … 154053 files and directories currently installed.)
Preparing to unpack …/xojo2024r11.deb …
Unpacking xojo2024r1.1 (2024.01.1) …
dpkg: dependency problems prevent configuration of xojo2024r1.1:
xojo2024r1.1 depends on libwebkit2gtk-4.0-37 (>= 1.0.0) | libwebkit2gtk-3.0-25 (>= 1.0.0) | libwebkitgtk-3.0-0 (>= 1.0.0); however:
Package libwebkit2gtk-4.0-37 is not installed.
Package libwebkit2gtk-3.0-25 is not installed.
Package libwebkitgtk-3.0-0 is not installed.

dpkg: error processing package xojo2024r1.1 (–install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) …
Processing triggers for desktop-file-utils (0.27-2build1) …
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for shared-mime-info (2.4-4) …
Errors were encountered while processing:
xojo2024r1.1

I am having the exact same problem. Fresh install of Ubuntu 24.04 and get the below when trying to install the .deb file

$ sudo dpkg -i Downloads/xojo2024r11.deb
(Reading database … 168612 files and directories currently installed.)
Preparing to unpack Downloads/xojo2024r11.deb …
Unpacking xojo2024r1.1 (2024.01.1) over (2024.01.1) …
dpkg: dependency problems prevent configuration of xojo2024r1.1:
xojo2024r1.1 depends on libwebkit2gtk-4.0-37 (>= 1.0.0) | libwebkit2gtk-3.0-25 (>= 1.0.0) | libwebkitgtk-3.0-0 (>= 1.0.0); however:
Package libwebkit2gtk-4.0-37 is not installed.
Package libwebkit2gtk-3.0-25 is not installed.
Package libwebkitgtk-3.0-0 is not installed.

dpkg: error processing package xojo2024r1.1 (–install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) …
Processing triggers for desktop-file-utils (0.27-2build1) …
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for shared-mime-info (2.4-4) …
Errors were encountered while processing:
xojo2024r1.1

The dependencies seem to be missing in this version of Ubuntu and are not in the repos either.

Looks like 24.04 comes with libwebkit2gtk-4.1 and the current app/deb are not updated to handle it, we need to assure that the coming 2024r2 and its deb are prepared to handle the new libwebkit, if possible do a repack of the current 2024r1.1 fixing it too. (c.c. @Geoff_Perlman )

Meanwhile you can try this possible workaround:

Xojo 2024r1.1 on Ubuntu 24.04


1. Edit the sources file:

sudo nano /etc/apt/sources.list.d/ubuntu.sources

2. and add the following lines:

Types: deb
URIs: http://br.archive.ubuntu.com/ubuntu/
Suites: jammy noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: http://security.ubuntu.com/ubuntu/
Suites: jammy-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

3. Execute:

sudo apt update
sudo apt install synaptic

4. Locate and run the Synaptic app from the apps menu

5. Search for "libwebkit2gtk" in there, enable the libwebkit2gtk-4.0-37

6. Apply the change.

7. Try to install the Xojo 2024r1.1 deb again

have in mind that you are bringing Ubuntu 2022.04 libs into the 2024.04 edition trying a workaround,
do it at your own risk.

2 Likes

Looks like this has been resolved in r2.

1 Like

thanks, nice to know :slight_smile:
now just a wait for the R2 release date!

In the meantime - for anyone else - the install from the tarball works fine.