INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Linux => Topic started by: fsimerey on November 15, 2013, 08:37:53 pm

Title: Why use a deb package install rather than a Bash script ?
Post by: fsimerey on November 15, 2013, 08:37:53 pm
The question is in title.

A bash script could be more universal to all distributions or am i wrong ?
I say that because i use SideFX Houdini, and installation is a bash script that is compatible with all distros i tested (Debian, Fedora, Arch Linux, etc...).
Title: Re: Why use a deb package install rather than a Bash script ?
Post by: bob on November 19, 2013, 12:54:59 pm
MC requires a fair number of system libraries that must be present for it to work.
The system that it's built on determines what versions of those libraries are required.
It's built on debian that's why it's a .deb.

A more generic build might work as tar.gz however there are still going to be 32/64 bit and
dependency issues.

Java apps (for example) work around that by being the same "binary" and leaving the installed java interpreter to handle the machine specific stuff.


Title: Re: Why use a deb package install rather than a Bash script ?
Post by: fsimerey on November 22, 2013, 09:14:01 am
Thanks for reply Bob. Could another way be to get all dependencies in MC folder and sourcing an environment variable. But i suppose the result archive would be a very big one ?
Title: Re: Why use a deb package install rather than a Bash script ?
Post by: BryanC on November 22, 2013, 11:18:39 am
Thanks for reply Bob. Could another way be to get all dependencies in MC folder and sourcing an environment variable. But i suppose the result archive would be a very big one ?

I don't think that solution really jives with the 'Unix philosophy'.
Title: Re: Why use a deb package install rather than a Bash script ?
Post by: MrC on November 22, 2013, 11:42:07 am
A bash script could be more universal to all distributions or am i wrong ?

The language of the bash script will be universal.  The special cases required for each platform is non-trivial.