LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing or making setup file (https://www.linuxquestions.org/questions/linux-software-2/installing-or-making-setup-file-716933/)

artman1 04-05-2009 12:35 AM

Installing or making setup file
 
I installed FFMPEG on my system(Fedora 9) and want to install FFMPEG on other systems(Different distribution). How can I do this without doing the whole installation process? for example by copy and past one or some folders!
Could I create setup file? How?

Thanks

raskin 04-05-2009 01:13 AM

What distribution is the "different distribution"? Does it have ffmpeg in its repositories? Why do you want to skip "whole installation process" - was it too long? The problem is that you need to be sure all the dependencies of ffmpeg are installed. So it is not obvious what files you have to copy and whether they will conflict (that means two different files needing to be in the same place in the FS).

knudfl 04-05-2009 03:41 AM

This is your seventh thread with the same question.

On Fedora 9 and 10 : # yum -y install ffmpeg
and "yum" will download the rpm packages and install it all
in a couple of minutes ( 'ffmpeg' and dependencies )

And a similar easy procedure for the most other distributions.

But using a result, which you compiled yourself, will probably
only be possible to transfer, if you wrap it up with "Ermine".
( Somebody already told you that.)
.....

There is more than one reason, that your result is difficult
to reuse, one is : 'glibc-2.8' > your ffmpeg will only work
on an OS with version 2.8 or higher.
.....
An option is to build rpm packages with 'rpmbuild' for ffmpeg
and all the dependencies ... they may work on Fedora 10 and ? ...
.....

artman1 04-06-2009 12:23 AM

by copy and paste , I mean I copy local folder in this address ./usr/local and past in other distribution like:redhat,knopix,...
Can I create setup file like windows that by one click FFMPEG and it's dependencies are installed?

Thanks

i92guboj 04-06-2009 12:29 AM

No.

raskin 04-06-2009 12:50 AM

Well, technically you can, but it will be wasteful. You _could_ compile everything (including a private copy of glibc) with correct rpaths to install into /opt/ffmpeg. For example, if you pack correct branches in /nix/store in NixOS you will get an archive that can be just unpacked. The problem is that it may interact weirdly with the rest of the system.

i92guboj 04-06-2009 12:59 AM

While possible it's not worth at all.

Package managers are there to resolve dependencies. Seriously, how much extra work is using a package manager to install something with two clicks over using a script that you have to run on the console and that will require a lot of extra work?

I remember something called klick which was along these lines. But I have no idea of the current status of the thing.

artman1 04-06-2009 01:41 AM

Thanks for your comments, but I want FFMPEG as a package for my project that when my project installed on system , I can automatically install FFMPEG too. Or execute FFMPEG as separate package.


All times are GMT -5. The time now is 06:00 PM.