compile ffmpeg on stand redhat
I'm working on a redhat server which isn't connected to the internet, so I can't download things 开发者_JAVA技巧directly onto the server. I can transfer them via SCP from another server.
Is there a step by step guide to compiling ffmpeg for redhat?
If you can scp from another server that is connected to the Internet and wish to install using rpm's rather than compiling, I suggest the following:
Install yum-downloadonly on the server in question:
yum -y install yum-downloadonly
Simulate an install of ffmpeg using downloadonly to save all required packages locally:
yum -y install ffmpeg --downloadonly --downloaddir=your_download_directory
Transfer all the downloaded rpm's to the server without Internet access
cd to the directory with the rpm's on that server and run this to install all of them:
rpm -ivh --nodeps *.rpm
That should do it!
精彩评论