Work in progress. Since I sometimes like to distro hop but usually come back to Fedora for my ready-to-go productive environment, I made this script to quickly rebuild the essentials of my setup after a fresh install. It should be easy to extend and adapt to your own preferences.
- Clone this repository
git clone https://github.com/lalogiquefloue/fedora-initial-setup.git
cd fedora-initial-setup- Make the script executable
chmod +x fedora_setup.sh- Run as root
sudo ./fedora_setup.sh- Flatpak support: Installs Flatpak if not present and adds Flathub repository
- RPM Fusion: Automatically enables RPM Fusion free and nonfree repositories
- System updates: Full system package update and upgrade
- Batch DNF installation: Install multiple DNF packages from a
dnf_packagesfile - Batch Flatpak installation: Install multiple Flatpaks from a
flatpaksfile - NVIDIA driver detection: Automatically detects NVIDIA GPUs and installs appropriate drivers
- Visual Studio Code: Complete setup with Microsoft repository configuration
- Multimedia codecs: Install multimedia codec group for media playback
- Tailscale: VPN mesh network installation and systemd service enablement
- Insync: Google Drive/OneDrive sync client installation
- C/C++ environment: Installs development-tools group, clang, gdb, valgrind, and debugging utilities
- .Net / C# environment: Installs .NET SDK 10.0 and ASP.NET Core Runtime 10.0
- More to come...
Create or edit a dnf_packages file in the same directory:
# Comments are supported
vim
git
Create or edit a flatpaks file in the same directory:
# Comments are supported
com.spotify.Client
org.gimp.GIMP