Skip to content

Instantly share code, notes, and snippets.

@zsarge
Created April 5, 2024 01:55
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 zsarge/395449f935f3c6b94dd23babc0532290 to your computer and use it in GitHub Desktop.
Save zsarge/395449f935f3c6b94dd23babc0532290 to your computer and use it in GitHub Desktop.
Bash script to install all of the software I frequently need on Fedora
#!/bin/bash
# These are all of the things that I install on Fedora linux.
set -e # exit on first error
sudo dnf update --refresh
# install chrome
sudo dnf install fedora-workstation-repositories
sudo dnf config-manager --set-enabled google-chrome
sudo dnf install google-chrome-stable
# # install pika backup
flatpak install flathub org.gnome.World.PikaBackup
# Install User Configs
# # bash <(curl -s https://raw.githubusercontent.com/zsarge/UserConfigs/master/installScripts.sh)
sudo dnf install vim -y
# install haskell
sudo dnf install haskell-platform
sudo dnf groupinstall "Development Tools" "Development Libraries"
# install go
sudo dnf install golang
# install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# install Ruby
sudo dnf install ruby
sudo dnf install rubygem-{irb,rake,rbs,rexml,typeprof,test-unit} ruby-bundled-gems
# install ipython
pip3 install ipython
# install steam
sudo dnf install steam -y
# install java
sudo dnf install java-latest-openjdk
sudo dnf install java-latest-openjdk-devel.x86_64
# install ghidra
flatpak install flathub org.ghidra_sre.Ghidra
# install docker
sudo dnf install dnf-plugins-core
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-buildx-plugin docker-compose-plugin
sudo systemctl enable docker
sudo usermod -aG docker $USER
echo "YOU MAY NEED TO RESTART TO USE DOCKER"
# install nodejs
sudo dnf install nodejs
# install vscode
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'
sudo dnf update
sudo dnf install code
# tmux & xsel
sudo dnf install xsel code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment