For Fedora 33
This is how to do a minimal installation of Fedora.
Obviously Fedora is not the best distro to do a minimal install. However, it can be done.
After installaton login as root and execute the following script
#!/bin/sh systemctl disable dbus-broker systemctl disable systemd-resolved systemctl disable systemd-homed systemctl disable systemd-userdbd dnf -y remove firewalld dnf -y remove sssd-* dnf -y remove audit dnf -y remove NetworkManager E=`grep ^e /proc/net/dev|cut -d: -f1` cat <<EOF >/etc/systemd/network/wired.network [Match] Name=$E [Network] DHCP=yes EOF systemctl enable systemd-networkd rm -f /etc/resolv.conf # a privacy respecting nameserver from german non-profit association digitalcourage echo "nameserver 184.108.40.206" >/etc/resolv.conf
Then reboot. Congratulation, you have now the smallest Fedora system possible.
In this example we use bspwm. Unfortunately Xorg won't work without dbus, so we have to re-enable dbus-broker.
As user execute the following script
#!/bin/sh sudo dnf -y install bspwm sxhkd sudo dnf -y install xterm sudo dnf -y install xorg-x11-server-Xorg sudo dnf -y install xorg-x11-xinit sudo dnf -y install xorg-x11-drv-* sudo dnf -y install mesa-dri-drivers sudo dnf -y install rofi install -Dm644 /usr/share/doc/bspwm/examples/sxhkdrc ~/.config/sxhkd/sxhkdrc install -Dm755 /usr/share/doc/bspwm/examples/bspwmrc ~/.config/bspwm/bspwmrc sed -ie s/dmenu_run/'rofi -show run'/g ~/.config/sxhkd/sxhkdrc sed -ie s/urxvt/xterm/g ~/.config/sxhkd/sxhkdrc sudo systemctl enable dbus-broker echo "exec bspwm" >~/.xinitrc
Then reboot, login as user and execute
startx. Once X has launched press
Super (or Windows key) +
Return to launch