Skip to content

Instantly share code, notes, and snippets.

@nickavem
Last active November 11, 2020 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickavem/bfce0cbadada4be89befa2e673a4528d to your computer and use it in GitHub Desktop.
Save nickavem/bfce0cbadada4be89befa2e673a4528d to your computer and use it in GitHub Desktop.
Easy Command to get Fedora up and running for friends

UPDATE YOUR SYSTEM THROUGH YOUR SOFTWARE CENTER BEFORE RUNNING THIS COMMAND

This command will give you access to software not included in the fedora repos, including non-free software. Proprietary or non-free software should be mostly avoided, as it can be insecure, incompatible, and even serve malicious purposes or require monetary payment. A good way to find alternatives to proprietary software is Alternativeto.net. Software on Fedora is primarily installed in two ways. Flatpak, which are packages that tend to be more stable, up to date, and secure but take up a little more space on the disk, and can (in rare cases) block certain application features because of inherent privacy/security measures. There is also RPM, which are a bit leaner, but lack many of the extra modern features that flatpak has. (Be sure to check the descriptions in your software center and compare versions to see which one might best fit your enviroment.) Both are easy to access in Gnome and KDE software centers, but may be a little trickier in other desktops, so make sure to do your own research. If you can't find the software you are looking for, either check Alternativeto.net, or simply search Fedora Linux Name Of Software and you can usually find help. There is also the command line, but that is out of the scope of this little blob (but I encourage you to learn because the command line is awesome!). Lastly, I installed a couple very basic tools to make the system more useable out of the box, including the fish shell, which should make your terminacl usage a little more pleasent.

This command will not install nvidia nrivers. Fedora Linux Nvidia should give you what you're looking for.

sudo dnf upgrade --refresh -y && 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 -y && sudo dnf groupupdate core -y && sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin -y && sudo dnf groupupdate sound-and-video -y && sudo dnf install rpmfusion-free-release-tainted rpmfusion-nonfree-release-tainted -y && sudo dnf install libdvdcss \*-firmware fish util-linux-user --exclude gnome-firmware --exclude lulzbot-marlin-firmware -y && flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && chsh -s /usr/bin/fish && sudo dnf autoremove -y

Reboot and you're good

If you are using GNOME (the default "Workstation Edition") also run this before rebooting to get some extra tools and quality of life:

sudo dnf install gnome-tweak-tool gnome-firmware -y && flatpak install org.gnome.Geary

REMEMBER IF YOU WANT TO GAME YOU SHOULD PROBABLY USE XORG. YOU CAN SWITCH TO THIS ON THE SETTINGS PANEL IN THE LOGIN SCREEN. GOOGLE OR ASK ME FOR MORE INFO!

P.S. Lutris and Steam are also your best friends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment