Hi Team,
Forgive my green questions, we are just starting to jump into apiscp…
What is the best way to get the latest version of ffmpeg available to an account ? to make this globally available as well …
We also need to build some python solutions that may need the equivalent of build-essential.
Thanks In Advance,
Roger
See Adding packages. First, you’d want to follow ffmpeg’s official guide on installing ffmpeg as neither OS nor EPEL repos carry it.
First, this is a classic “dependency hell” program. I’ve added some changes to ApisCP to make this easier for you.
# Update with latest changes
cpcmd scope:set cp.update-policy edge-major
upcp
Once ApisCP is updated and you’ve installed the third-party repo:
dnf install -y ffmpeg
cd /usr/local/apnscp
# Install ffmpeg, its dependencies, and its dependencies' dependencies
./bin/scripts/yum-post.php install -d3 ffmpeg siteinfo
# Install additional deep dependencies + its dependencies
./bin/scripts/yum-post.php install -d2 libXi siteinfo
./bin/scripts/yum-post.php install -d2 flac-libs siteinfo
# Reload vfs
systemctl reload fsmount
su -c 'ffmpeg --help' site1
If ffmpeg
reports library issues, then work backward by solving those dependencies.