Quick-Linux-Setup/run.sh

25 lines
1.8 KiB
Bash
Raw Normal View History

2024-09-01 21:24:48 -05:00
#!/usr/bin/env bash
set -e
# check for root access
if [[ $(id -u) != 0 ]]; then
echo "Please run setup as 'root'"
exit 1
fi
# Uninstall Apps and Packages
sudo dnf remove -y anaconda document-scanner fedora-bookmarks fedora-chromium-config gnome-clocks gnome-color-manager gnome-contacts gnome-getting-started-docs gnome-initial-setup gnome-maps gnome-online-miners gnome-remote-desktop gnome-user-docs gnome-weather gnome-characters gnome-classic-session gnome-classic-session-xsession gnome-color-manager gnome-connections gnome-disk-utility gnome-font-viewer gnome-logs gnome-shell-extension-apps-menu gnome-shell-extension-background-logo gnome-shell-extension-common gnome-shell-extension-launch-new-instance gnome-shell-extension-places-menu gnome-shell-extension-window-list gnome-system-monitor gnome-terminal gnome-text-editor gnome-tour ibus-hangul ibus-kkc ibus-libpinyin ibus-libzhuyin ibus-m17n ibus-typing-booster khmeros-base-fonts libreoffice-calc libreoffice-impress libreport problem-reporting rhythmbox sane-airscan simple-scan speech-dispatcher thai-scalable-waree-fonts totem tracker yelp
# Install Apps
sudo dnf config-manager --add-repo https://repository.mullvad.net/rpm/stable/mullvad.repo
sudo dnf install -y gnome-console mullvad-vpn
flatpak install -y com.vscodium.codium io.github.zen_browser.zen com.spotify.Client org.gnome.Showtime com.belmoussaoui.Obfuscate network.loki.Session org.videolan.VLC org.nickvision.tubeconverter cafe.avery.Delfin de.haeckerfelix.Fragments org.kde.kdenlive org.gnome.gitlab.YaLTeR.VideoTrimmer io.gitlab.adhami3310.Impression com.github.tchx84.Flatseal
# Install Packages
sudo dnf install -y nautilus adb fastboot
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
nvm install node
curl -fsSL https://bun.sh/install | bash
source ~/.bashrc