Page 1 of 1

Unpacking LC on Linux

Posted: Thu Aug 17, 2023 10:03 am
by richmond62
On Macintosh, as a Mac app is a seemingly monolithic folder disguised as an executable it is dead easy to locate all its 'bits and bobs',
and on Windows that is also sometimes possible.

On Linux things are very different.

When I install LC on a Linux box the thing goes "whizz, bang, pop" and the LC icon turns up in the apps menu (very convenient), but
'where the fudge' the components are is anybody's guess.

When I install standalones that are Linux executables on a Linux box they go into a folder in the 'Home' folder [Xubuntu / Debian] and then I set up a link from the taskbar part of the XFCE GUI. So, if one of those standalones goes wonky it is easy to remove it and/or replace it with something better.

BUT, LC not being a monolithic thing unlike Linux standalones generated by LC means that, in all probability, the installer bungs files in some obscure corners of the Linux system.

Re: Unpacking LC on Linux

Posted: Thu Aug 17, 2023 4:45 pm
by wsamples
Richmond, If you always choose the install only for self option (IIRC this is what you've said you do) all Livecode components are installed in a '~/.runrev' directory. The icon is installed in '~/.local/share/applications' Those are the only locations where the installer puts anything unless you install for all users.

edit: it may also create the ~/my_livecode' directory for plugins, as well
'nother edit: I am stupid sometimes... it's the 'desktop' file that gets installed in ~/.local/share/applications. That's the file that your DE finds and reads to put Livecode in your menu. Poking around shows icons on my older system in '~/.local/share/icons/hicolor/48x48/apps/' but I can't find icons in my current system, which could be because I'm (maybe) missing an environmental value or perhaps have something to do with installing via the command line since the installers no longer run in GUI mode on my system 🤷‍♂️ but you might look for the icons there.

Re: Unpacking LC on Linux

Posted: Thu Aug 17, 2023 5:43 pm
by richmond62
Thak you very much, that is extremely helpful.

Re: Unpacking LC on Linux

Posted: Sat Aug 19, 2023 5:00 pm
by mwieder
...and if you install for all users the directory is under "/opt" and you need to use sudo to uninstall.

Re: Unpacking LC on Linux

Posted: Sun Aug 20, 2023 2:29 pm
by bogs
wsamples wrote:
Thu Aug 17, 2023 4:45 pm
Richmond, If you always choose the install only for self option (IIRC this is what you've said you do) all Livecode components are installed in a '~/.runrev' directory. The icon is installed in '~/.local/share/applications' Those are the only locations where the installer puts anything unless you install for all users.
Or, you could even (for Win / Lin at least) do heinous things like I do and ...
  1. install for local user only (tested on 9.6.x and earlier) on any machine, including a virtual machine
  2. copy one of the folders to usb or network share location
  3. stick the livecode exe file for the desired OS(es)
  4. run on any other machine without installing anything *
Image

*Unable to test this working on Mac, but it probably could. Also, each NEW machine it is run on will enter the screen asking your email (which can be dismissed).
** Not tested beyond the aforementioned versions, attempts are made at your risk, not mine, will not be held accountable for your lights going out, your beer running low, or any other results of said testing.

Re: Unpacking LC on Linux

Posted: Sun Aug 20, 2023 2:58 pm
by richmond62
Welcome back from where-ever you have been lurking. :)

Re: Unpacking LC on Linux

Posted: Sun Aug 20, 2023 7:48 pm
by SparkOut
Hey bogs!
Nice to see you here again.

Re: Unpacking LC on Linux

Posted: Sun Aug 20, 2023 9:04 pm
by mwieder
Bogs!

Your message contains 5 characters.
You need to enter at least 10 characters.

Re: Unpacking LC on Linux

Posted: Sun Aug 27, 2023 8:12 pm
by bogs
I'm not really back, but wanted to thank all who chimed in with the (very) nice happy thoughts, you all positively made my day. I wish you all the best.