Can not install webkitGTK on Linux Mint 22

I am having trouble installing WebKitGTK on Linux Mint 22. I have Xojo 2024r2.1 installed.
It is required for the HTMLViewer.
Tried:
sudo apt-get install libgtk-3-0:i386 libwebkitgtk-3.0-0:i386
This say the package is not available. Also checked and HTMLViewer still does not work.

How do I fix this?

Do you really need the 32-bit version?

I probably do not need to install the 32 bit version. Got the following line directly from the current version system requirements:
sudo apt-get install libgtk-3-0:i386 libwebkitgtk-3.0-0:i386

link:
https://documentation.xojo.com/resources/system_requirements_for_current_release.html

The link probably needs updated for the 64 bit version?

1 Like

Sure, In the section that says…

“…to get the appropriate 32-bit libraries installed so that 32-bit apps run.”

If you read a little further down it says “if you’re using htmlviewer…”

sudo apt-get install libwebkit2gtk

Received the following:

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package libwebkit2gtk

Still need help.

You could try:

sudo apt-get install libgtk-3-0:x64 libwebkitgtk-3.0-0:x64

or perhaps:

sudo apt-get install libgtk-3-0 libwebkitgtk-3.0-0

I haven’t a machine to try it on. Basically, i386 (is the 32bit version). x64 (is the 64 bit version).

Both of those did not work.

After typing in the following line:
dpkg -l | grep libwebkit

shows:
libwebkit2gtk-4.1-0:amd64 installed.

So it’s already installed. Maybe you should describe the actual problem and provide a sample project instead of telling us what you think the problem is.

2 Likes

https://tracker.xojo.com/xojoinc/xojo/-/issues/77017#note_581647

Check out this issue, I had a similar problem. I think newer versions of Xojo fixed it.

1 Like