/bootstrap

Bash script to set up a system the way I like it

Primary LanguageShellGNU General Public License v3.0GPL-3.0

bootstrap

Welcome to Flavortown

bash <(curl -H 'Cache-Control: no-cache' -s https://raw.githubusercontent.com/cgwhouse/bootstrap/refs/heads/main/bootstrap.sh)

Pre-Bootstrap Checklists

Fedora

  1. Update system with sudo dnf distro-sync --refresh && sudo dnf autoremove and reboot

  2. Enable and configure RPM Fusion repos:

    sudo dnf install \
    https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
    https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
    
    sudo dnf config-manager --enable fedora-cisco-openh264
  3. If applicable, deal with NVIDIA graphics

  4. Enable proprietary codecs, then apply Firefox config changes:

    sudo dnf group install Multimedia
    sudo dnf swap ffmpeg-free ffmpeg --allowerasing
    
    # These seem not to do anything, but at time of writing were still on RPMFusion wiki:
    sudo dnf update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
    sudo dnf update @sound-and-video
    
    # Intel
    sudo dnf install intel-media-driver
    
    # AMD
    sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
    sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
    sudo dnf swap mesa-va-drivers.i686 mesa-va-drivers-freeworld.i686
    sudo dnf swap mesa-vdpau-drivers.i686 mesa-vdpau-drivers-freeworld.i686
    
    # NVIDIA
    sudo dnf install libva-nvidia-driver.{i686,x86_64}

Gentoo

  1. Follow the Handbook. When it says to reboot, before doing so, install and configure eix.
  2. After completing the Handbook, do the following in order using Gentoo Wiki:
    • desktop environment (vaapi vdpau -gnome-online-accounts -kde -plasma -telemetry)
    • audio (pipewire)
    • Firefox bin