How do I run or install Xojo 64-bit on Ubuntu to run a simple “Hello World” program?
I just installed Xojo 2022r4.1 on Ubuntu 2022.04.01 on VirtualBox 7.0 (7.0 4r154605 (Qt5.15.2)) with Windows 11, intel processor., and attempted to run a Hello World program. Literally, a button with messagebox(“Hello World”), and when I press ‘run’ it crashes. No issues created, just crashed. Here is the video.
Here is a list of my installation steps:
To install Xojo 2022 r4.1 on Ubuntu 64-bit:
It appears that WaylandCompositor is the issue. When I googled it, WaylandCompositor is supposed to be a replacement for Xorg. Wow, lots of compatibility issues:
I will continue to work on this and update this post as more information becomes available.
Edit: From the Wayland - Debian Wiki website, it appears that Wayland has unsupported Desktops: Cinnamon, Enlightenment, MATE, XFCE, and more.
Here are the instructions for the next person who wants to install it.
To install Xojo 2022 r4.1 on Ubuntu 64-bit 22.04.1 LTS with VirtualBox Version 7.0 4r154605 (Qt5.15.2), on 31 Dec 2022:
1. sudo apt-get install libc6
2. sudo apt-get install libncurses5
3. sudo apt-get install libstdc++6
4. sudo apt-get install libglib2.0-dev
5. sudo apt-get install libglib2.0-0
6. sudo apt-get install libsoup2.4-1
7. sudo apt-get install libgtk2.0-0
8. sudo apt-get install weston
9. sudo apt-get install rpm
10. Go to www.xojo.com and download the deb file
11. open a terminal and go to the download location (cd Downloads)
12. type pwd to get the absolute path to Downloads folder (/home/eugenedakin/Downloads)
13. type to install (sudo dpkg -i /home/eugenedakin/Downloads/xojo2022r41.deb)
14. installation directory is /opt/xojo/xojo2022r4.1, and executable is Xojo
YMMV on those depending on which desktop manager you install - and remember, you CAN have multiple DMs installed - I have GNOME, Cinnamon, MATE, KDE, and XFCE installed. You can choose which DM to use on the login screen using the little gear icon after you’ve selected your user.
As discussed in other threads, you can also simplify the installion using the tgz version since that works on ANY Linux distro. Once downloaded into your Downloads folder, open a Terminal and do this:
sudo -s
cd /
tar -zxvf ~usename/Downloads/xojo2022r4.1.tgz
That will install the downloaded version of Xojo into its proper location in /opt/xojo. You then need to create a .desktop file in /usr/share/applications. The simplest variant would look like this: