Skip to content

Instantly share code, notes, and snippets.

@devmachiine
Created November 10, 2024 14:31
Show Gist options
  • Save devmachiine/d127ab031a22463e48bb675b5cff466a to your computer and use it in GitHub Desktop.
Save devmachiine/d127ab031a22463e48bb675b5cff466a to your computer and use it in GitHub Desktop.

download fedora Network Installer from https://alt.fedoraproject.org/

  • choose minimum install, nothing else
  • caveat! install via LAN, wifi might not work on reboot
  • only AFTER installing gnome-shell, does wifi work (NetworkManager(/-wifi) package probably)

confirm network works

ip link show
ping google.com

Install X and gnome-shell for firefox & virt-manager

sudo dnf install @base-x gnome-shell gnome-terminal firefox
sudo systemctl set-default graphical.target
sudo dnf remove gnome-tour
reboot

enable auto-updates

sudo dnf install dnf-automatic
sudo systemctl enable --now dnf-automatic.timer
#confirm with:
systemctl list-timers 'dnf-*'
#configure to auto-install and restart when needed
sudo sed -i 's/^apply_updates = .*/apply_updates = yes/' /etc/dnf/automatic.conf
sudo sed -i 's/^reboot = .*/reboot = when-needed/' /etc/dnf/automatic.conf

install virtualization and other jazz

sudo dnf install @virtualization virt-manager
sudo systemctl enable libvirtd # might not be needed
sudo dnf install nautilus gnome-system-monitor gnome-disk-utility gedit vim yum-utils gnome-software --setopt=install_weak_deps=False
reboot

add keyboard shortcut for super+menu and ctrl+alt+t (needs-restarting is part of yum-utils)

sh -c "needs restarting -r && systemctl suspend || (notify-send -u critical -t 0 'shutdown in 5 minutes...' 'to cancel run shutdown -c' && shutdown +5)"

clean and reboot

sudo dnf autoremove
sudo dnf --refresh upgrade
reboot

fyi how to check installed packages

dnf rq --deplist nautilus
dnf list --installed | wc
dnf info gnome-system-monitor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment