Page 1 of 1

Phylosophical questions about Linux

Posted: 03 Nov 2016, 16:57
by fulalas
I know this is not specific related to Porteus, but given Porteus philosophy I think this is the right place to ask. :)

1- Is it possible to have portable apps on Linux?

What I mean is that kind of app that comes inside a package with absolute all dependencies, then you can extract it to any folder you want, double clicking on the binary and... voilĂ ! Don't need to worry about system folders, libs, dependencies, installations, system entropy or any kind of complicated thing. Also, all settings will be placed inside its folder, so you can take this folder and copy to anywhere you want and it will work flawlessly.

I'm not a Windows enthusiast and that's why I'm trying to migrate to Linux. I really don't like what MS did trying to fix the so called DLL hell -- in a few words the 'solution' is: Windows Side-by-side DLL management. But... It's possible to ignore this mess and have apps that are portable on Windows. And I think this the best way of keeping system clean and easy to use and maintain.

2- Why Linux's apps usually don't come compiled with all needed dependencies inside a package?

Again, I don't like Windows and I really hope this topic doesn't end in an OS war, but let's be honest: on Windows you usually (not always, I know) simply download a single package, install/extract it and it's ready to use; on Linux is hard to download a single package with everything it needs, and it's very common having to go to the console and do so magic, including compiling source codes and reading a few threads over the internet.

Right now I'm passing through a problem with Qmmp on Linux because one of its plugins has an external dependency that I can't solve, even using the plugin compiled for Ubuntu and the external dependency installed. But the same app on Windows comes with absolutely everything it needs to run. So I'm thinking if this is a Linux issue more than a developer issue.

I know it's not reasonable asking developers to compile for all Linux distros (there are more than 300!), but they could compile on the 6 most used, for example. The developer (and I'm one of them) knows exactly the dependencies of its program, so it's really simple for him to provide the full package with everything it needs to run.

Re: Phylosophical questions about Linux

Posted: 03 Nov 2016, 18:57
by Bogomips
fulalas wrote:2- Why Linux's apps usually don't come compiled with all needed dependencies inside a package?
It's to do with the notion of reusable code. Why re-invent the wheel, if someone has already done it? Instead invent something that uses wheels, for example a bicycle.
fulalas wrote:1- Is it possible to have portable apps on Linux?
Do read all links referenced: viewtopic.php?f=48&t=5898#p45728

Re: Phylosophical questions about Linux

Posted: 05 Nov 2016, 01:06
by brokenman
As mentioned above there are tons of portable apps available. The size will be much heavier than the average Porteus module but all should work. The other option is to create a single option from the resulting file when you create a package using USM. This is essentially portable.

The next release of Porteus will have a bundles function which will be single portable packages that include all dependencies. This may be what you are looking for.

Re: Phylosophical questions about Linux

Posted: 06 Nov 2016, 20:01
by tome
Other sites with portable software for Linux: http://forum.porteus.org/viewtopic.php? ... 736#p46363
absolute all dependencies
sometimes it would be new Linux distribution called same as app (Ubuntu: Gnome, Lubuntu, Xubuntu, GParted...)
And I think this the best way of keeping system clean and easy to use and maintain.
But you must be sure it is myapp and no myapp-virus, in infected computer myapp became myapp-virus (you don't see -virus suffix, but you can compare checksums and see another things)
on Windows you usually (not always, I know) simply download a single package, install/extract it and it's ready to use
For most popular and large size Linux distros could be the same, even on Porteus you can extract firefox, palemoon, google-chrome, dropbox, java-oracle and so on, and run without problems.

Re: Phylosophical questions about Linux

Posted: 07 Nov 2016, 17:14
by fulalas
Thank you for your replies. I'll read everything :)