Deploying to Linux? Get penguinated here.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
wsamples
- VIP Livecode Opensource Backer

- Posts: 264
- Joined: Mon May 18, 2009 4:12 am
Post
by wsamples » Sat Feb 08, 2025 5:30 pm
SirWobbyTheFirst wrote: ↑Thu Feb 06, 2025 10:46 pm
After much trial and error and brain and heart ache, I finally got LiveCode 10 installed on CachyOS which runs KDE. The GUI is a no go, you will hit -E error that some rando is keeping the application from updating. So what you need to do instead is download the installer to the machine, make sure there are no spaces in the path and DO NOT TOUCH THE INSTALLER FILENAME! leave it alone, keep your grubby mitts off.
Then launch a terminal and do sudo -s to switch into Root's account, then cd to the folder where the installer is located and then do chmod +x ./LiveCodeProfessional-10_0_0-Linux.x64 and then finally, do ./LiveCodeProfessional-10_0_0-Linux.x64 -ui -desktopshortcut -startmenu.
Don't bother with the -AllUsers or -Location parameters, it doesn't pay attention, it'll then extract everything to /root/.runrev/components/livecode-10.0.0.x86_64 and also put some icons and a desktop file into /root/.local/share/applications and /root/.local/share/icons/hicolor/48x48/apps respectively. Then you need to do mv ~/.runrev/components/livecode-10.0.0.x86_64 /opt/ which will move the installation folder to /opt where it belongs. Then do mv ~/.local/share/applications/runrev-livecode_10_0_0-x86_64.desktop /usr/share/applications/ and then mv ~/.local/share/icons/hicolor/48x48/apps/runrev-livecode_10_0_0-x86_64.png /usr/share/icons/hicolor/48x48/apps/.
Next issue a nano /usr/share/applications/runrev-livecode_10_0_0-x86_64.desktop and update the line that starts with Exec= to say: Exec="/opt/livecode-10.0.0.x86_64/LiveCode.x86_64" %U then hit Ctrl+O, then Enter and then Ctrl+X to exit Nano. Finally exit from Root's session and issue sudo gtk-update-icon-cache to refresh the icons and then you can find LiveCode 10.0 listed in the Development category of the KDE menu. So in order:
Code: Select all
sudo -s
cd ~/Downloads
chmod +x ./LiveCodeProfessional-10_0_0-Linux.x64
./LiveCodeProfessional-10_0_0-Linux.x64 -ui -desktopshortcut -startmenu
mv ~/.runrev/components/livecode-10.0.0.x86_64 /opt/
mv ~/.local/share/applications/runrev-livecode_10_0_0-x86_64.desktop /usr/share/applications/
mv ~/.local/share/icons/hicolor/48x48/apps/runrev-livecode_10_0_0-x86_64.png /usr/share/icons/hicolor/48x48/apps/
sed -i -e 's/\/root\/.runrev\/components/\/opt/' /usr/share/applications/runrev-livecode_10_0_0-x86_64.desktop
exit
sudo gtk-update-icon-cache
Do that and the app will be usable and will have its icon displayed in the KDE menu. This will likely work for other Arch-based distributions.
For future reference, there's no need to sudo into root unless you want to install in opt which is what the "for all users" option does. The istaller will successfuly install into ~/.runrev if you run it in a terminal with the -ui flag without elevating privileges. Fixing the executable bit of the installer is necessary for all linuxes and this has long been complained about

I had posted that solution somewhere here some time ago after I ran into it, too, while trying to update, although I see it wasn't in this thread.
-
SirWobbyTheFirst
- VIP Livecode Opensource Backer

- Posts: 246
- Joined: Tue Jun 30, 2009 11:15 pm
Post
by SirWobbyTheFirst » Sun Feb 09, 2025 3:37 pm
wsamples wrote: ↑Sat Feb 08, 2025 5:30 pm
SirWobbyTheFirst wrote: ↑Thu Feb 06, 2025 10:46 pm
After much trial and error and brain and heart ache, I finally got LiveCode 10 installed on CachyOS which runs KDE. The GUI is a no go, you will hit -E error that some rando is keeping the application from updating. So what you need to do instead is download the installer to the machine, make sure there are no spaces in the path and DO NOT TOUCH THE INSTALLER FILENAME! leave it alone, keep your grubby mitts off.
Then launch a terminal and do sudo -s to switch into Root's account, then cd to the folder where the installer is located and then do chmod +x ./LiveCodeProfessional-10_0_0-Linux.x64 and then finally, do ./LiveCodeProfessional-10_0_0-Linux.x64 -ui -desktopshortcut -startmenu.
Don't bother with the -AllUsers or -Location parameters, it doesn't pay attention, it'll then extract everything to /root/.runrev/components/livecode-10.0.0.x86_64 and also put some icons and a desktop file into /root/.local/share/applications and /root/.local/share/icons/hicolor/48x48/apps respectively. Then you need to do mv ~/.runrev/components/livecode-10.0.0.x86_64 /opt/ which will move the installation folder to /opt where it belongs. Then do mv ~/.local/share/applications/runrev-livecode_10_0_0-x86_64.desktop /usr/share/applications/ and then mv ~/.local/share/icons/hicolor/48x48/apps/runrev-livecode_10_0_0-x86_64.png /usr/share/icons/hicolor/48x48/apps/.
Next issue a nano /usr/share/applications/runrev-livecode_10_0_0-x86_64.desktop and update the line that starts with Exec= to say: Exec="/opt/livecode-10.0.0.x86_64/LiveCode.x86_64" %U then hit Ctrl+O, then Enter and then Ctrl+X to exit Nano. Finally exit from Root's session and issue sudo gtk-update-icon-cache to refresh the icons and then you can find LiveCode 10.0 listed in the Development category of the KDE menu. So in order:
Code: Select all
sudo -s
cd ~/Downloads
chmod +x ./LiveCodeProfessional-10_0_0-Linux.x64
./LiveCodeProfessional-10_0_0-Linux.x64 -ui -desktopshortcut -startmenu
mv ~/.runrev/components/livecode-10.0.0.x86_64 /opt/
mv ~/.local/share/applications/runrev-livecode_10_0_0-x86_64.desktop /usr/share/applications/
mv ~/.local/share/icons/hicolor/48x48/apps/runrev-livecode_10_0_0-x86_64.png /usr/share/icons/hicolor/48x48/apps/
sed -i -e 's/\/root\/.runrev\/components/\/opt/' /usr/share/applications/runrev-livecode_10_0_0-x86_64.desktop
exit
sudo gtk-update-icon-cache
Do that and the app will be usable and will have its icon displayed in the KDE menu. This will likely work for other Arch-based distributions.
For future reference, there's no need to sudo into root unless you want to install in opt which is what the "for all users" option does. The istaller will successfuly install into ~/.runrev if you run it in a terminal with the -ui flag without elevating privileges. Fixing the executable bit of the installer is necessary for all linuxes and this has long been complained about

I had posted that solution somewhere here some time ago after I ran into it, too, while trying to update, although I see it wasn't in this thread.
I could never get the installer to run otherwise, it always just immediately returned in the Terminal or dumped with a Segmentation Fault error. Either there really doesn't need to be an installer for Linux, just an archive and we can take care of the rest.