Phylosophical questions about Linux

Post here if you are a new Porteus member and you're looking for some help.
fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Phylosophical questions about Linux

Post#1 by fulalas » 03 Nov 2016, 16:57

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.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Phylosophical questions about Linux

Post#2 by Bogomips » 03 Nov 2016, 18:57

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
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Phylosophical questions about Linux

Post#3 by brokenman » 05 Nov 2016, 01:06

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Phylosophical questions about Linux

Post#4 by tome » 06 Nov 2016, 20:01

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.
You have mind and feelings. Be wise and clever.

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: Phylosophical questions about Linux

Post#5 by fulalas » 07 Nov 2016, 17:14

Thank you for your replies. I'll read everything :)

Post Reply