Last active
April 28, 2021 11:27
-
-
Save mplinuxgeek/91fc4ad4dd4ff00003e223bc2df915c2 to your computer and use it in GitHub Desktop.
My post install script to help get Fedora to my desired state.
This file contains hidden or 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 | |
# If you forgot to set hostname during install like I often do... | |
sudo hostnamectl set-hostname newhostname | |
# Remove unneeded (by me) packages | |
sudo dnf autoremove -y cheese evolution libreoffice-draw libreoffice-impress gnome-maps gnome-clocks gnome-contacts gnome-contacts gnome-weather | |
# Enable extra repos | |
sudo dnf install -y fedora-workstation-repositories | |
sudo dnf config-manager --set-enabled fedora-cisco-openh264 | |
sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm | |
sudo dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
# Enable and install Chrome | |
sudo dnf config-manager --set-enabled google-chrome | |
sudo dnf install -y google-chrome-stable | |
# Install favourite tools | |
sudo dnf install -y terminator gparted nano | |
# Install media tools | |
sudo dnf install -y youtube-dl handbrake handbrake-gui mkvtoolnix-gui ffmpeg vlc | |
# Install nemo file manager | |
sudo dnf install -y nemo nemo-fileroller | |
# Fix nemo not displaying in applications menu | |
cp /usr/share/applications/nemo.desktop ~/.local/share/applications/nemo.desktop | |
sed -i 's/^OnlyShowIn/#&/' ~/.local/share/applications/nemo.desktop | |
# Configure automatic updates | |
sudo dnf install -y dnf-automatic | |
sudo sed -i 's/apply_updates = no/apply_updates = yes/g' /etc/dnf/automatic.conf | |
sudo systemctl enable --now dnf-automatic.timer | |
# Install Microsoft Visual Studio Code | |
wget --content-disposition https://go.microsoft.com/fwlink/?LinkID=760867 | |
sudo dnf install -y code-*.rpm | |
# Install notepadqq, feature copy of notepad++, https://github.com/notepadqq/notepadqq-packaging | |
#wget http://sea.fedorapeople.org/sea-devel.repo -O /etc/yum.repos.d/sea-devel.repo | |
#dnf install -y notepadqq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment