====== Minimal installation of Fedora ====== **For Fedora 38** This is how to do a minimal installation of Fedora. - Grab the Netboot ISO from https://fedoraproject.org/server/download/ - Boot the CD, choose “Install Fedora 38” - Choose your language, click continue - Choose "Installation Destination", choose "Storage Configuration" -> "Custom", click "Done" - Create partitions as you wish, click "Done" - Back in the Installation summary choose "Software selection" - choose “Fedora Custom Operating System” (**Note:** this is even smaller than the “Minimal Installation” option) - Create a User account by clicking at "User Creation" - Click “Done”, then “Begin Installation” - When finished click "Reboot System" After installation login and become **root** and execute the following commands systemctl disable systemd-userdbd systemctl disable systemd-oomd systemctl disable systemd-resolved rm -f /etc/resolv.conf # a privacy respecting nameserver from https://dnsforge.de/ echo "nameserver 176.9.93.198" >/etc/resolv.conf dnf update # replace dnf with dnf5, a more lightweight and faster implementation of dnf dnf install dnf5 ln -sf /usr/bin/dnf5 /usr/bin/dnf dnf upgrade # remove unnecessary packages dnf remove firewalld dnf remove sssd-* dnf remove audit dnf remove NetworkManager # Install DHCP client daemon dnf install dhcpcd systemctl enable dhcpcd@eth0 # replace eth0 with your network interface Then reboot. Congratulation, you have now the smallest Fedora system possible. Memory consumption (htop): 125 MB ===== A minimal X environment ===== In this example we use [[:wm:tiling:herbstluftwm]]. Execute the following commands as user sudo dnf install herbstluftwm xterm xorg-x11-server-Xorg xorg-x11-xinit xorg-x11-drv-* mesa-dri-drivers echo "exec herbstluftwm" >~/.xinitrc startx Once X and herbstluftwm has launched press ''Alt'' + ''Return'' to launch ''xterm'' Memory consumption (X+herbstluftwm+xterm+htop): 168 MB ===== A minimal Wayland environment ===== In this example we use [[https://github.com/riverwm/river|river]], a simple tiling Wayland compositor Execute the following commands as user sudo dnf install river foot mkdir -p ~/.config/river cp /usr/share/river/init.example ~/.config/river/init river Hit Super+Shift+Return for launching foot terminal Memory consumption (river+foot+htop): 159 MB