Flatpak
Remove Fedora Repository
flatpak remote-modify fedora --disable
Add Flathub Repository
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
SJTU Flathub Mirror
flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub
Add My Flatpak Repository
flatpak remote-add --no-gpg-verify --user madoka773 https://madoka773.github.io/flatpak/master
Add Fcitx-Unstable Repository
flatpak remote-add --user --if-not-exists fcitx5-unstable https://flatpak.fcitx-im.org/unstable-repo/fcitx5-unstable.flatpakrepo
Replace Fedora repo with Flathub repo(Silverblue Only)
flatpak install --reinstall flathub $(flatpak list --app-runtime=org.fedoraproject.Platform --columns=application | tail -n +1 )
Custom /etc/fstab
UUID=99759784-7c81-495c-817a-2d2e9bbac063 /var/backup xfs defaults 0 0`
UUID=0d0b3488-315e-4037-965a-be597d1d90dc /var/home/five/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps xfs defaults 0 0
Fedora RPM Repos Mirror
sudo sed -e 's/^metalink=/#metalink=/g' -e 's|^#baseurl=http://download.example/pub/|baseurl=https://mirror.sjtu.edu.cn/|g' -i.bak /etc/yum.repos.d/fedora*
RPMFUSION Repos
sudo dnf install --nogpgcheck https://mirror.sjtu.edu.cn/rpmfusion/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirror.sjtu.edu.cn/rpmfusion/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install rpmfusion-free-release-tainted rpmfusion-nonfree-release-tainted
sudo sed -e 's/^metalink=/#metalink=/g' -e 's|^#baseurl=http://download1.rpmfusion.org/|baseurl=https://mirror.sjtu.edu.cn/rpmfusion/|g' -i.bak /etc/yum.repos.d/rpmfusion*
sudo dnf groupupdate core
sudo dnf swap ffmpeg-free ffmpeg --allowerasing
sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf groupupdate sound-and-video
sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
sudo dnf swap mesa-va-drivers.i686 mesa-va-drivers-freeworld.i686
sudo dnf swap mesa-vdpau-drivers.i686 mesa-vdpau-drivers-freeworld.i686
sudo dnf install libdvdcss
sudo dnf --repo=rpmfusion-nonfree-tainted install "*-firmware"
标签:dnf,Fedora,--,sudo,设置,flatpak,https,安装,rpmfusion
From: https://www.cnblogs.com/madoka773/p/17877909.html