Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
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).
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
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 ? ...
.....
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?
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.