yum install epel-release
yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
yum install --downloadonly --downloaddir=ffmpeg ffmpegyum --disableplugin=fastestmirror -y -v localinstall ./ffmpeg/*.rpm
and
rpm  -i --prefix=/some/other/path/ packagename.rpmand
rpm2cpio google-chrome-stable-110.0.5481.177-1.x86_64.rpm | cpio -idv
Find out quickly which package provides a certain library with YUM
https://unix.stackexchange.com/questions/57124/remove-newline-from-unix-variable
How to find the required dependency software on CentOS?