Page 1 of 2

Trying to install on Ubuntu 16.04

Posted: Wed Dec 11, 2019 12:41 am
by djkesler
Someone has asked for my program to be distributed on Ubuntu 16.04. I have very limited knowledge of Linux and am not making any headway on getting LC 9.5.0 installed.

Are there any tutorials on exactly how to get LC installed on a brand new Linux system, i.e. Ubuntu 16.04?

I have put the LiveCodeBusinessInstaller-9_5_0-Linux.x64 into my home directory and set it to executable, but the system doesn't recognized '.x64' as an executable extension. Or at least that would seem to be the case.

Thanks for any help.

Re: Trying to install on Ubuntu 16.04

Posted: Wed Dec 11, 2019 5:47 am
by FourthWorld
Linux will recognize a file as executable once the permissions have been set to allow that.

Right click on the installer file, select Properties, and in the Properties window set the checkbox to allow it run as an executable.

You'll find a few things like that to get used to when you get started with Linux. I took it up for the same reason you did, because a customer asked for a Linux version of one of my products. Hopefully you'll have as much fun with Ubuntu as I have.

And thanks for making a Linux port of your app. It's good for Ubuntu, and it's good for LiveCode.

Re: Trying to install on Ubuntu 16.04

Posted: Wed Dec 11, 2019 5:23 pm
by djkesler
Thanks Richard, that did it! at least with a little work with chmod to the 'opt' directory.

Is there any standard place to put a LC application in Linux? Like 'Applications" in macOS? or do I use 'Home' as the starting point and store program and data under that?

I am sorry I am such a newbe, or is it newby, at this.

Thanks again for being there with the right advice, I really appreciate it.

dk

Re: Trying to install on Ubuntu 16.04

Posted: Wed Dec 11, 2019 11:43 pm
by bogs
djkesler wrote:
Wed Dec 11, 2019 5:23 pm
Thanks Richard, that did it! at least with a little work with chmod to the 'opt' directory.
dk, your going about this in a lot harder way than it has to be. You should not have to enter the opt directory at all for any reason at any time. The *only* exception to that I can think of is if, for some reason, you were unable to uninstall Lc in any other accepted way after installing for everyone that uses the machine.
djkesler wrote:
Wed Dec 11, 2019 12:41 am
Are there any tutorials on exactly how to get LC installed on a brand new Linux system, i.e. Ubuntu 16.04?
Just for you (and anyone else that comes along looking for this same information), here you are.

Re: Trying to install on Ubuntu 16.04

Posted: Thu Dec 12, 2019 8:28 am
by mrcoollion

Re: Trying to install on Ubuntu 16.04

Posted: Thu Dec 12, 2019 11:03 am
by bogs
Just curious mrcoollion, Is that vers. 5.5.x on 'buntu 10 (or 12) ?

Re: Trying to install on Ubuntu 16.04

Posted: Thu Dec 12, 2019 1:35 pm
by mrcoollion
LOL... it's not very fresh is it ! :shock:
Only the permission issue explained here might be interesting ....

Re: Trying to install on Ubuntu 16.04

Posted: Fri Dec 13, 2019 8:48 am
by bogs
Heh, Actually, I was serious when I asked, the 4.x and 5.x versions are 2 I do not have yet, and I wasn't sure which vers. of 'buntu that was, it does look like the 10 (or possibly 12) version.

Re: Trying to install on Ubuntu 16.04

Posted: Fri Dec 13, 2019 9:20 am
by richmond62
I run LiveCode 9.5 on quite a few old PCs (both 32 and 64 bit) running Xubuntu 18.04,
having previously deployed LiveCode 8.1 on Xubuntu 16.10.

I have just installed LiveCode 9.5 on a Zorin OS 64-bit install and it runs delightfully.

I run LiveCode 9.5 on a 64-but laptop running Kubuntu with no problems at all.

I only ran into trouble when I did NOT select the "for you only" choice in the installer.
a brand new Linux system, i.e. Ubuntu 16.04
I would not classify Ubuntu 16.04 as "brand new."

If you want I am happy to prepare a set of "pretty pictures" for installing LiveCode on
an Ubuntu system (whether plain vanilla Ubuntu or one of the variants).

Re: Trying to install on Ubuntu 16.04

Posted: Fri Dec 13, 2019 1:04 pm
by sphere
richmond62 wrote:
Fri Dec 13, 2019 9:20 am

I only ran into trouble when I did NOT select the "for you only" choice in the installer.
Correct, same issue on Ubuntu Mate. And sometimes you need to change the Rights of the File to be executable before installing.

Re: Trying to install on Ubuntu 16.04

Posted: Fri Dec 13, 2019 3:02 pm
by djkesler
Sorry, by brand new I meant newly installed. I should have included that I installed it under Parallels on my Mac. In looking at some install videos I noticed that when it was being installed for all users an Admin dialogue box was presented, mine didn’t do that. During the installation of 9.5.0 it erased all evidence of its attempt to install, or it was never able to create any directory structure in the first place. Even under single user install, it generated an error 1, I believe and didn’t create any shortcut file. But when I looked in the directory where the docs say it should go, it was in fact, there.

Now that I have LC running, it doesn’t seem able to create folders or write files. I am beginning to suspect that Parallels is involved somehow with my problems.

Re: Trying to install on Ubuntu 16.04

Posted: Fri Dec 13, 2019 5:33 pm
by richmond62
I wouldn't bother fiddling around with Parallels.

Where I live, at least, I can pick up a 3 year old PC for 45 Euros and have a 'buntu Linux up and running on it via
a USB boot and install in about 45 minutes.

Download the 'buntu version of your choice onto your Mac and then use Balena Etcher

[ https://www.macupdate.com/app/mac/61189/balenaetcher ]

to make yourself a bootable USB stick.

Re: Trying to install on Ubuntu 16.04

Posted: Fri Dec 13, 2019 6:14 pm
by djkesler
Probably a good idea. It’s just my Mac is the fastest computer I have. And, I have forgotten so much about using and configuring a PC. I have a win 7 pc that I could use, but it’s pretty slow.

Thanks for the tip.

Re: Trying to install on Ubuntu 16.04

Posted: Fri Dec 13, 2019 6:50 pm
by sphere
You could install Refind. Its a bootloader for mac, it takes some reading. But with it you can boot from different partitions. Then you have the fastest linux or Windows on your mac.

Re: Trying to install on Ubuntu 16.04

Posted: Fri Dec 13, 2019 6:53 pm
by djkesler
Thanks, I knew about Apple’s bootcamp, but had not heard of Refind. That sounds like a viable option.