Last active
October 1, 2024 08:59
-
-
Save lassekongo83/c86ba120bc33d2d37c2a251521f3fbba to your computer and use it in GitHub Desktop.
A script to install a minimal GNOME on a minimal Fedora Everything install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is a script that will install a minimal GNOME on a minimal Fedora Everything install | |
# This script was made for Fedora 38 | |
# 1. Get the Fedora Everything ISO: https://alt.fedoraproject.org/ | |
# 2. When installing select "Minimal install" where you select software. | |
# Install curl to download and run this script trough that, or just copy paste the lines | |
# Let's make dnf a little bit faster first | |
echo 'fastestmirror=1' | sudo tee -a /etc/dnf/dnf.conf | |
echo 'max_parallel_downloads=10' | sudo tee -a /etc/dnf/dnf.conf | |
echo 'deltarpm=true' | sudo tee -a /etc/dnf/dnf.conf | |
sudo dnf update | |
# You could even go more minimal GNOME than this, but why would you want to? | |
sudo dnf install gnome-shell gnome-console nautilus gnome-text-editor xdg-user-dirs xdg-user-dirs-gtk flatpak bash-completion tar bzip2 -y | |
# Add the flatpak repo | |
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | |
# Enable gdm | |
sudo systemctl enable gdm | |
sudo systemctl set-default graphical.target | |
# Then all you have to do is to install any extra packages or drivers that you need and reboot | |
# Note that flatpak will need a reboot before you install any apps from flathub | |
# If you run this script in a VM you may want to install the kernel-devel package as well |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment