Enable RPM Fusion Repository
When installing Fedora, you will be prompted whether to enable other third-party software sources.
However, the software sources that are automatically enabled are only NVIDIA drivers, Google Chrome, and Steam. The full set of RPM Fusion software sources is not automatically enabled, so software such as VLC and MPV are also not available.
It is recommended that you still enable the full set of RPM Fusion. Domestic players are still advised to use Tsinghua’s image to enable RPM Fusion:
sudo yum install --nogpgcheck https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
After the installation is successful, modify the files starting with and ending with /etc/yum.repos.d/
in the directory . Specifically, you need to replace the line at the beginning of the file with in the link after the equal sign , and the replaced file is similar to the following:rpmfusion
.repo
baseurl=
http://download1.rpmfusion.org/
https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/
[rpmfusion-free]
name=RPM Fusion for Fedora $releasever - Free
baseurl=https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/free/fedora/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
[rpmfusion-free-debuginfo]
name=RPM Fusion for Fedora $releasever - Free - Debug
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
[rpmfusion-free-source]
name=RPM Fusion for Fedora $releasever - Free - Source
baseurl=https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/free/fedora/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
140 sudo yum install --nogpgcheck https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
141 cd /etc/yum.repos.d/
142 ll
143 sudo vim rpmfusion-free.repo
144 sudo sed -i 's|http://download1.rpmfusion.org/|https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/|g' rpmfusion-free.repo
145 sudo vim rpmfusion-free.repo
146 sudo sed -i 's|http://download1.rpmfusion.org/|https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/|g' rpmfusion-free-updates.repo
147 sudo vim rpmfusion-free-updates.repo
148 sudo sed -i 's|http://download1.rpmfusion.org/|https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/|g' rpmfusion-free-updates-testing.repo
149 sudo vim rpmfusion-free-updates-testing.repo
150 sudo sed -i 's|http://download1.rpmfusion.org/|https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/|g' rpmfusion-nonfree-nvidia-driver.repo
151 sudo vim rpmfusion-nonfree-nvidia-driver.repo
152 ll rpmfusion-*
153 sudo sed -i 's|http://download1.rpmfusion.org/|https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/|g' rpmfusion-nonfree.repo
154 sudo vim rpmfusion-nonfree.repo
155 sudo sed -i 's|http://download1.rpmfusion.org/|https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/|g' rpmfusion-nonfree-steam.repo
156 sudo vim rpmfusion-nonfree-steam.repo
157 sudo sed -i 's|http://download1.rpmfusion.org/|https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/|g' rpmfusion-nonfree-updates.repo
158 sudo vim rpmfusion-nonfree-updates.repo
159 sudo sed -i 's|http://download1.rpmfusion.org/|https://mirrors.tuna.tsinghua.edu.cn/rpmfusion/|g' rpmfusion-nonfree-updates-testing.repo
160 sudo vim rpmfusion-nonfree-updates-testing.repo
161 sudo dnf update