Created
October 7, 2022 01:40
-
-
Save MaxVRAM/ccb14260ecd172a1ab39b9f5dc51b5d1 to your computer and use it in GitHub Desktop.
Essential repos and my selection of packages for fresh Fedora installs [flatpak/rpm/free/non-free]
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 | |
echo -e '\n' | |
echo -e ' _____ ____ ______________ _____ _____ ' | |
echo -e ' / \ _____ ___ __\ \ / /\______ \ / _ \ / \ ' | |
echo -e ' / \ / \\\\__ \ \ \\/ /\\ Y / | _/ / /_\\ \ / \ / \ ' | |
echo -e ' / Y \\/ __ \_> < \ / | | \/ | \/ Y \ ' | |
echo -e ' \____|__ (____ /__/\\_ \ \___/ |____|_ /\____|__ /\____|__ / ' | |
echo -e ' \/ \/ \/ \/ \/ \/ ' | |
echo -e ' Another fresh install by... ' | |
echo -e ' ._______________. ' | |
echo -e ' // :: MaxVRAM :: \\\\ \n' | |
echo -e '\n' | |
echo -e 'Installing essentials...' | |
echo -e '------------------------\n' | |
file="/etc/dnf/dnf.conf" && line="max_parallel_downloads" && value="10" | |
sudo sed -i '\!^'"$line"'=!{h;s!=.*!='"$value"'!};${x;\!^$!{s!!'"$line"'='"$value"'!;H};x}' $file | |
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm -y | |
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -y | |
sudo dnf upgrade --refresh | |
sudo dnf groupupdate core sound-and-video -y | |
sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin -y | |
sudo dnf install rpmfusion-free-release-tainted libdvdcss \*-firmware -y | |
# Basic packages to install | |
sudo dnf install dnf-plugins-core zsh bash gawk nm-connection-editor seahorse exa net-tools gnome-nettool nmap tilix gnome-tweak-tool chrome-gnome-shell vlc steam gimp inkscape telegram evolution unzip p7zip p7zip-plugins unrar util-linux-user pavucontrol -y | |
# Flatpak repos and app downloads | |
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | |
flatpak install flathub com.mattjakeman.ExtensionManager com.slack.Slack com.spotify.Client com.synology.SynologyDrive org.gnome.FontManager org.remmina.Remmina com.mattermost.Desktop org.signal.Signal | |
echo -e '\n\n' | |
echo -e 'Installing Docker and VS Code...' | |
echo -e '--------------------------------\n' | |
# Docker | |
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo | |
sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin -y | |
sudo usermod -aG docker $USER | |
newgrp docker | |
docker -v | |
sudo systemctl enable docker.service | |
sudo systemctl enable containerd.service | |
# VS Code | |
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc | |
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo' | |
dnf check-update | |
sudo dnf install code -y | |
echo -e '\n\n' | |
echo -e '---------' | |
echo -e 'All done!' | |
echo -e '---------\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment