almaLinux centos8 下载ffmpeg离线安装包、离线安装
脚本
# 添加RPMfusion仓库
sudo yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm wget -y
mkdir -p /root/ffmpeg
cd /root/ffmpeg
wget http://rpmfind.net/linux/epel/7/x86_64/Packages/s/SDL2-2.0.14-2.el7.x86_64.rpm
yum install yum-utils -y
yumdownloader --destdir=/root/ffmpeg --resolve ffmpeg
/root/ffmpeg文件夹内的就是ffmpeg的离线安装包
离线安装
# 离线安装
rpm -Uvh --force --nodeps *.rpm