I have some Ubuntu 14.04 servers (that is, headless, no UI involved) that for security reasons cannot be connected to the internet, but they need ffmpeg
installed on them.
Typically, for an ffmpeg
install on Ubuntu 14.04 I use the following commands:
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ffmpeg
On 14.04 its necessary to add the mc3man/trusty-media
repo since ffmpeg
was intentionally omitted from the 14.04 official repos.
I'm wondering what I need to do to get ffmpeg
and any of its transitive dependencies loaded onto a USB stick and then subsequently installed on my non-networked/offline 14.04 servers and running correctly.
It looks like ffmpeg
usually installs itself to /usr/bin/ffmpeg
, so on one hand it could be as easy as copying that binary to the flash drive. However I'm wondering if it has any dependencies that would need to be copied over as well. I'm also wondering if it matters where on the offline servers I install/save the binaries to (does it?). I figure as long as the system path can find ffmpeg
, it shouldn't matter if I install it under usr/bin/ffmpeg
or /opt/ffmpeg
, etc.
ffmpeg
is not in the official Ubuntu repos for 14.04. – smeeb Nov 15 '16 at 18:08