
AlmaLinux 8 (r8.7 (Stone Smilodon)) の新規インストール。ffmpeg をインストールする準備として、以下を実行しました。
sudo dnf -y install https://download.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo yum install yum-utils -y
sudo yum-config-manager --enable powertools
sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm -y
sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm -y
最終を実行するとsudo dnf install ffmpeg ffmpeg-devel
、次のエラーが発生します。
Last metadata expiration check: 0:22:38 ago on Tue 25 Apr 2023 11:48:30 AM MDT.
No match for argument: ffmpeg
Error: Unable to find a match: ffmpeg
以前のマシンや他のバージョンの Nix では問題なく ffmpeg をインストールして実行できましたが、今回は困惑しています。 を実行するdnf repolist
と、次のようになりました。
repo id repo name
appstream AlmaLinux 8 - AppStream
baseos AlmaLinux 8 - BaseOS
dell-omsa-indep Dell OMSA repository - Hardware independent
dell-omsa-specific Dell OMSA repository - Hardware specific
dell-system-update_dependent dell-system-update_dependent
dell-system-update_independent dell-system-update_independent
elevate ELevate
epel Extra Packages for Enterprise Linux 8 - x86_64
extras AlmaLinux 8 - Extras
influxdata InfluxData Repository - Stable
influxdb InfluxDB Repository
powertools AlmaLinux 8 - PowerTools
つまり、リポジトリは存在し、正しいのです。
他にどこをチェックすればいいのかわかりません。これは簡単なはずです。誰かこれをインストールするのを手伝ってくれませんか?
答え1
私の場合は次の手順が効果的でした:
dnf config-manager --set-enabled powertools
dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm -y
dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm -y
dnf install ffmpeg
epel も必要ありません。ffmpeg には powertools と rpmfusion リポジトリだけで十分です。