Trying to install on Ubuntu 16.04

Deploying to Linux? Get penguinated here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

djkesler
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 55
Joined: Tue Jun 01, 2010 10:37 pm

Trying to install on Ubuntu 16.04

Post by djkesler » Wed Dec 11, 2019 12:41 am

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.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Trying to install on Ubuntu 16.04

Post by FourthWorld » Wed Dec 11, 2019 5:47 am

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

djkesler
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 55
Joined: Tue Jun 01, 2010 10:37 pm

Re: Trying to install on Ubuntu 16.04

Post by djkesler » Wed Dec 11, 2019 5:23 pm

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

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Trying to install on Ubuntu 16.04

Post by bogs » Wed Dec 11, 2019 11:43 pm

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.
Last edited by bogs on Thu Dec 12, 2019 11:01 am, edited 1 time in total.
Image

mrcoollion
Posts: 719
Joined: Thu Sep 11, 2014 1:49 pm
Location: The Netherlands

Re: Trying to install on Ubuntu 16.04

Post by mrcoollion » Thu Dec 12, 2019 8:28 am


bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Trying to install on Ubuntu 16.04

Post by bogs » Thu Dec 12, 2019 11:03 am

Just curious mrcoollion, Is that vers. 5.5.x on 'buntu 10 (or 12) ?
Image

mrcoollion
Posts: 719
Joined: Thu Sep 11, 2014 1:49 pm
Location: The Netherlands

Re: Trying to install on Ubuntu 16.04

Post by mrcoollion » Thu Dec 12, 2019 1:35 pm

LOL... it's not very fresh is it ! :shock:
Only the permission issue explained here might be interesting ....

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Trying to install on Ubuntu 16.04

Post by bogs » Fri Dec 13, 2019 8:48 am

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.
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Trying to install on Ubuntu 16.04

Post by richmond62 » Fri Dec 13, 2019 9:20 am

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).

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Trying to install on Ubuntu 16.04

Post by sphere » Fri Dec 13, 2019 1:04 pm

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.

djkesler
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 55
Joined: Tue Jun 01, 2010 10:37 pm

Re: Trying to install on Ubuntu 16.04

Post by djkesler » Fri Dec 13, 2019 3:02 pm

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.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Trying to install on Ubuntu 16.04

Post by richmond62 » Fri Dec 13, 2019 5:33 pm

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.

djkesler
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 55
Joined: Tue Jun 01, 2010 10:37 pm

Re: Trying to install on Ubuntu 16.04

Post by djkesler » Fri Dec 13, 2019 6:14 pm

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.

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Trying to install on Ubuntu 16.04

Post by sphere » Fri Dec 13, 2019 6:50 pm

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.
Last edited by sphere on Fri Dec 13, 2019 8:21 pm, edited 1 time in total.

djkesler
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 55
Joined: Tue Jun 01, 2010 10:37 pm

Re: Trying to install on Ubuntu 16.04

Post by djkesler » Fri Dec 13, 2019 6:53 pm

Thanks, I knew about Apple’s bootcamp, but had not heard of Refind. That sounds like a viable option.

Post Reply

Return to “Linux”