Last active
January 7, 2025 05:15
-
-
Save luckylittle/4b261abc981f968ed51e724ecc69d9d2 to your computer and use it in GitHub Desktop.
Bash script that downloads the most important apps that i use on my RHEL9 laptop
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 | |
# This is more of a notes, rather than script... I'll turn this into Ansible at some point | |
# Red Hat Enterprise Linux release 9.5 (Plow) | |
############################################# | |
# Remove bloatware | |
sudo dnf remove -y brasero totem cheese evolution cockpit gnome-tour | |
sudo subscription-manager repos --enable "codeready-builder-for-rhel-9-$(uname -m)-rpms" | |
sudo dnf update | |
# Install 3rd party repos | |
sudo dnf install -y \ | |
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \ | |
https://download1.rpmfusion.org/free/el/rpmfusion-free-release-9.noarch.rpm \ | |
https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-9.noarch.rpm \ | |
https://mkvtoolnix.download/almalinux/bunkus-org-repo-2-4.noarch.rpm \ | |
# Install GNOME extensions and common apps | |
gnome-extensions-app \ | |
gnome-shell-extension-desktop-icons \ | |
gnome-shell-extension-top-icons \ | |
gnome-tweaks \ | |
irssi \ | |
keepassxc \ | |
tmux \ | |
transmission \ | |
vlc \ | |
zsh | |
# Change shell to ZSH | |
chsh /usr/bin/zsh | |
logout | |
# Sudo | |
sudo vi /etc/sudoers | |
# Enable all codecs | |
sudo dnf install libavcodec-freeworld --allowerasing | |
# Install EasyTAG | |
sudo dnf install -y \ | |
https://github.com/luckylittle/EasyTag-for-RHEL9/releases/download/2.5.1/easytag-2.5.1-1.el9.x86_64.rpm \ | |
https://github.com/luckylittle/EasyTag-for-RHEL9/releases/download/2.5.1/easytag-nautilus-2.5.1-1.el9.x86_64.rpm \ | |
https://github.com/luckylittle/EasyTag-for-RHEL9/releases/download/2.5.1/id3lib-3.8.3-47.el7.x86_64.rpm | |
sudo ln -s /usr/local/share/glib-2.0/schemas/org.gnome.EasyTAG.enums.xml /usr/share/glib-2.0/schemas | |
sudo ln -s /usr/local/share/glib-2.0/schemas/org.gnome.EasyTAG.gschema.xml /usr/share/glib-2.0/schemas | |
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ | |
# Install all the rest | |
sudo dnf install -y \ | |
https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm \ | |
https://download.bleachbit.org/bleachbit-4.6.2-1.1.centos9.noarch.rpm \ | |
https://downloads.slack-edge.com/desktop-releases/linux/x64/4.41.98/slack-4.41.98-0.1.el8.x86_64.rpm \ | |
https://github.com/Red-Hat-APAC/CopyQ-for-RHEL9/releases/download/9.1.0/CopyQ-9.1.0-1.el9.x86_64.rpm \ | |
https://gsl-syd.mm.fcix.net/rpmfusion/nonfree/el/updates/8/x86_64/l/libunrar-6.2.10-1.el8.x86_64.rpm \ | |
https://launchpad.net/veracrypt/trunk/1.26.14/+download/veracrypt-1.26.14-CentOS-8-x86_64.rpm \ | |
https://mirrorcache-au.opensuse.org/repositories/home:/Alexx2000/Fedora_41/x86_64/doublecmd-gtk-1.1.21-1.1.x86_64.rpm \ | |
https://mkvtoolnix.download/almalinux/9/x86_64/mkvtoolnix-gui-88.0-1.almalinux9.x86_64.rpm \ | |
https://negativo17.org/repos/spotify/epel-9/x86_64/spotify-client-1.2.50.335.g5e2860a8-1.el9.x86_64.rpm \ | |
https://negativo17.org/repos/spotify/epel-9/x86_64/spotify-ffmpeg-4.4.5-1.el9.x86_64.rpm \ | |
https://vscode.download.prss.microsoft.com/dbazure/download/stable/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/code-1.95.3-1731513157.el8.x86_64.rpm | |
# FileZilla + XnViewMP | |
wget https://dl3.cdn.filezilla-project.org/client/FileZilla_3.68.1_x86_64-linux-gnu.tar.xz | |
wget https://download.xnview.com/XnViewMP-linux-x64.tgz | |
# Iron | |
wget https://www.srware.net/downloads/iron-linux-64.tar.gz | |
tar xvzf iron-linux-64.tar.gz | |
cd /opt/iron-linux-64/ | |
sudo chown root chrome-sandbox | |
sudo chmod 4755 chrome-sandbox | |
sudo chmod 4755 chrome-wrapper | |
sudo ln -s /home/lmaly/Desktop/chromium-devel.desktop /usr/local/share/applications/ | |
sudo mkdir -p /etc/opt/chrome/policies/managed | |
sudo mkdir -p /etc/chromium/policies/managed | |
echo '{ "ExtensionManifestV2Availability": 2 }' | sudo tee /etc/opt/chrome/policies/managed/ExtensionSettings.json | |
echo '{ "ExtensionManifestV2Availability": 2 }' | sudo tee /etc/chromium/policies/managed/ExtensionSettings.json | |
wget https://github.com/luckylittle/google-chromium-favourite-extensions/raw/refs/heads/master/Clear-Downloads_v1.2.0.crx | |
wget https://github.com/luckylittle/google-chromium-favourite-extensions/raw/refs/heads/master/KeePassXC-Browser_v1.9.5.crx | |
wget https://github.com/luckylittle/google-chromium-favourite-extensions/raw/refs/heads/master/OzBargain_v1.3.0.crx | |
wget https://github.com/luckylittle/google-chromium-favourite-extensions/raw/refs/heads/master/Proxy-SwitchyOmega_3_\(ZeroOmega\)_v3.3.14.crx | |
wget https://github.com/luckylittle/google-chromium-favourite-extensions/raw/refs/heads/master/The_Camelizer_v3.0.16.crx | |
wget https://github.com/luckylittle/google-chromium-favourite-extensions/raw/refs/heads/master/uBlock-Origin_v1.31.2.crx | |
# Install Calibre 7.15.0 (newer will not work on RHEL9.5) | |
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin version=7.15.0 | |
# Install pyRescene | |
sudo dnf install python3-pip | |
pip install -U pip | |
pip install pyRescene --user | |
# Cleanup | |
sudo dnf clean all | |
# Remove restore window keyboard shortcut, which is conflicting with Double Commander's Alt+F5 to Pack Files: | |
# Settings > Keyboard > Customize shortcuts > Restore window: disabled | |
Permanently show hidden files in Nautilus:
mkdir -p ~/.config/gtk-2.0/
echo -n "[Filechooser Settings]\nShowHidden=true" >> ~/.config/gtk-2.0/gtkfilechooser.ini
# Go to settings now and enable "Show hidden files". It will remain enabled permanently.
K3B (KDE burning tool) complains about missing cdrecord
. To fix: sudo dnf install wodim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SRS
issues covered in: srrDB/pyrescene@0f72c46#diff-633c54a72207b70ce68f6defc381e0f95b570a2fd0c94fa63c35f57b1ded3c27