Skip to content

Fedora Silverblue Post Installation

Silverblue | خطوات بعد التنصيب واستعادة النظام لو حدثت مشكلة


خطوات يجب تنفيذها بعد تنصيب Fedora Silverblue
⚓︎

توزيعة المستقبل مازلت بحاجة إلى بعض الخطوات الهامة بعد التنصيب.

System upgrades⚓︎

  • Update the system
rpm-ostree upgrade
  • preview which packages will be updated
rpm-ostree update --preview

Auto Update⚓︎

  • set AutomaticUpdatePolicy
sudo nano /etc/rpm-ostreed.conf
[Daemon]
AutomaticUpdatePolicy=check
[Daemon]
AutomaticUpdatePolicy=stage
  • reload rpm-ostree
rpm-ostree reload
  • enable the automatic timer
systemctl enable rpm-ostreed-automatic.timer --now

full flathub⚓︎

  • add full flathub remote:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  • update installed remotes:
flatpak update --appstream
  • update installed apps:
flatpak update

RPM Fusion repos⚓︎

sudo rpm-ostree install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo rpm-ostree install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Layering packages⚓︎

  • Install package
rpm-ostree install htop
  • Remove it
rpm-ostree uninstall htop
  • check layered packages
rpm-ostree status
  • remove all layered packages
rpm-ostree uninstall --all
  • Packages to Layer
rpm-ostree install htop gnome-tweaks unrar

Nvidia Drivers⚓︎

يجب إيقاف تفعيل الإقلاع الآمن "Secure Boot"

Install Nvidia from RPM Fusion

Install apps from Copr⚓︎

  • install scrcpy as an example
sudo wget https://copr.fedorainfracloud.org/coprs/zeno/scrcpy/repo/fedora-$releasever/zeno-scrcpy-fedora-$releasever.repo -O /etc/yum.repos.d/copr-scrcpy-zeno.repo

Rollbak to recover system failure⚓︎

  • use grup to boot tow a working img and run:
rpm-ostree rollback

Reference⚓︎