Unpacking LC on Linux
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 9762
- Joined: Fri Feb 19, 2010 10:17 am
Unpacking LC on Linux
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.
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
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.
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.
-
- Livecode Opensource Backer
- Posts: 9762
- Joined: Fri Feb 19, 2010 10:17 am
Re: Unpacking LC on Linux
Thak you very much, that is extremely helpful.
Re: Unpacking LC on Linux
...and if you install for all users the directory is under "/opt" and you need to use sudo to uninstall.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: Unpacking LC on Linux
Or, you could even (for Win / Lin at least) do heinous things like I do and ...wsamples wrote: ↑Thu Aug 17, 2023 4:45 pmRichmond, 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.
- install for local user only (tested on 9.6.x and earlier) on any machine, including a virtual machine
- copy one of the folders to usb or network share location
- stick the livecode exe file for the desired OS(es)
- run on any other machine without installing anything *
*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.
Last edited by bogs on Sun Aug 20, 2023 3:12 pm, edited 2 times in total.
-
- Livecode Opensource Backer
- Posts: 9762
- Joined: Fri Feb 19, 2010 10:17 am
Re: Unpacking LC on Linux
Welcome back from where-ever you have been lurking.
Re: Unpacking LC on Linux
Hey bogs!
Nice to see you here again.
Nice to see you here again.
Re: Unpacking LC on Linux
Bogs!
Your message contains 5 characters.
You need to enter at least 10 characters.
Your message contains 5 characters.
You need to enter at least 10 characters.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: Unpacking LC on Linux
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.