Skip to content
forked from mortalic/firstrun

This script automates the setup of a fresh installed Fedora system, including enabling repositories, installing essential software, and configuring devices. Moved to https://codeberg.org/Bytez/firstrun

License

Notifications You must be signed in to change notification settings

Bytezz/firstrun

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Fedora Post-Installation Setup Script

This script automates the setup of a Fedora system, including enabling repositories, installing essential software, and configuring devices. It's designed to run after a fresh installation of Fedora, helping users quickly set up their environment according to their needs.

Components Configured

  • Device settings
    • Change hostname
    • Setup a second drive
  • Drivers / repos
    • Fedora multimedia codecs
    • Enable RPM Fusion free and non-free
    • Install nVidia drivers
    • Install additional codecs
      • Intel/AMD/nVidia hardware accellerated codecs
    • Install Flatpak and add Flathub repo
  • Install FOSS software
    • git
    • Syncthing
    • Signal (from Flathub)
  • Install non-FOSS software
    • Steam (from rpmfusion-nonfree)
    • Discord (from rpmfusion-nonfree)

Usage

  1. Clone the repository or download the script:
git clone https://github.com/mortalic/firstrun.git
cd firstrun
  1. Run the script:
sudo ./firstrun.sh

Or, if you are lazy, here is a oneliner with curl:

curl -s -o- https://raw.githubusercontent.com/mortalic/firstrun/main/fedora_first_run.sh | sudo bash

Requirements

  • Fedora Linux (the script is tested on Fedora, adjustments might be necessary for other distributions).
  • Root permissions are required for most operations.

Customization

The script uses several global variables (USERNAME, GROUP, PERMISSION, NEWHOSTNAME, PRETTYHOSTNAME, DRIVELABEL) to configure system settings. You can modify these variables to suit your specific requirements. Example:

sudo NEWHOSTNAME=superpc PRETTYHOSTNAME="damn fast pc" ./firstrun.sh

Contributions

Contributions to the script are welcome. Please ensure to test changes locally before submitting a pull request.

License

GPL 3.0

Contact

For bugs, feature requests, or other communications, open an issue, or better, open a Pull Request with the fix.

About

This script automates the setup of a fresh installed Fedora system, including enabling repositories, installing essential software, and configuring devices. Moved to https://codeberg.org/Bytez/firstrun

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%