Update main/setup.sh

This commit is contained in:
2025-12-22 08:51:19 -08:00
parent 60c985fb4d
commit 81460abdcd

View File

@@ -1,6 +1,7 @@
#!/bin/bash
# Copyright (c) 2022 fithwum
# All rights reserved
set -eu
USER=fithwum
MAKEMKV_VERSION=1.18.2
@@ -29,17 +30,17 @@ echo " "
# apt-get install --no-install-recommends -y ttf-mscorefonts-installer
apt-get install --no-install-recommends -y putty
# apt-get install --no-install-recommends -y nextcloud-desktop
# apt-get install --no-install-recommends -y syncthing
apt-get install --no-install-recommends -y syncthing
apt-get install --no-install-recommends -y htop
apt-get install --no-install-recommends -y iftop
apt-get install --no-install-recommends -y neofetch
# apt-get install --no-install-recommends -y gparted
apt-get install --no-install-recommends -y fastfetch
apt-get install --no-install-recommends -y gparted
apt-get install --no-install-recommends -y keepassxc
# apt-get install --no-install-recommends -y filezilla
apt-get install --no-install-recommends -y filezilla
apt-get install --no-install-recommends -y curl
# apt-get install --no-install-recommends -y chirp
# apt-get install --no-install-recommends -y satdump
# apt-get install --no-install-recommends -y rustdesk
apt-get install --no-install-recommends -y chirp
apt-get install --no-install-recommends -y satdump
#apt-get install --no-install-recommends -y rustdesk
apt-get install --no-install-recommends -y lightdm-settings
apt-get install --no-install-recommends -y gnome-calendar
apt-get install --no-install-recommends -y libfuse2t64
@@ -81,10 +82,10 @@ echo "INFO ! Codeing things."
echo " "
# apt-get install --no-install-recommends -y docker docker.io docker-compose docker-clean docker-registry
apt-get install --no-install-recommends -y git
# apt-get install --no-install-recommends -y gh
# apt-get install --no-install-recommends -y arduino
# apt-get install --no-install-recommends -y adb
apt-get install --no-install-recommends -y python
apt-get install --no-install-recommends -y gh
apt-get install --no-install-recommends -y arduino
apt-get install --no-install-recommends -y adb
apt-get install --no-install-recommends -y python3
# if dpkg -s code &> /dev/null
# then
@@ -106,19 +107,19 @@ if dpkg -s codium &> /dev/null
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | gpg --dearmor | dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg
echo -e 'Types: deb\nURIs: https://download.vscodium.com/debs\nSuites: vscodium\nComponents: main\nArchitectures: amd64 arm64\nSigned-by: /usr/share/keyrings/vscodium-archive-keyring.gpg' | tee /etc/apt/sources.list.d/vscodium.sources
apt-get update
apt-get install --no-install-recommends -y install codium
apt-get --no-install-recommends -y install codium
fi
echo " "
echo "INFO ! Media things."
echo " "
# apt-get install --no-install-recommends -y audacity
apt-get install --no-install-recommends -y audacity
apt-get install --no-install-recommends -y vlc
# apt-get install --no-install-recommends -y obs-studio
# apt-get install --no-install-recommends -y kdenlive
apt-get install --no-install-recommends -y obs-studio
apt-get install --no-install-recommends -y kdenlive
apt-get install --no-install-recommends -y gimp
# apt-get install --no-install-recommends -y inkscape
# apt-get install --no-install-recommends -y asunder
apt-get install --no-install-recommends -y inkscape
apt-get install --no-install-recommends -y asunder
# if dpkg -s jellyfin-media-player &> /dev/null
# then
@@ -140,8 +141,8 @@ if [ -e /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage ]
wget --no-cache --show-progress --progress=bar:force:noscroll "https://download.kde.org/stable/krita/${KRITA_VERSION}/krita-${KRITA_VERSION}-x86_64.AppImage" -O /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage
chown ${USER} /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage
chmod +x /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage
tee /home/${USER}/Desktop/krita.desktop <<EOF
tee /home/${USER}/Desktop/krita.desktop <<-EOF
[Desktop Entry]
Type=Application
Name=Krita
@@ -149,16 +150,16 @@ if [ -e /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage ]
Icon=cinnamon-panel-launcher
Terminal=false
EOF
chown ${USER} /home/${USER}/Desktop/krita.desktop
chmod +x /home/${USER}/Desktop/krita.desktop
fi
echo " "
echo "INFO ! Moddeling/3D Printing stuff."
echo " "
# apt-get install --no-install-recommends -y blender
# apt-get install --no-install-recommends -y freecad
# apt-get install --no-install-recommends -y cura
apt-get install --no-install-recommends -y blender
apt-get install --no-install-recommends -y freecad
apt-get install --no-install-recommends -y cura
echo " "
echo "INFO ! Browsers."
@@ -174,17 +175,17 @@ if dpkg -s librewolf &> /dev/null
apt-get update && apt-get install --no-install-recommends -y librewolf
fi
# if dpkg -s brave-browser &> /dev/null
# then
# echo "INFO ! Brave installed ... moving on."
# else
# echo " "
# echo "WARNING ! Brave not installed ... will install now."
# curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
# echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
# apt -y update
# apt-get install --no-install-recommends -y brave-browser
# fi
if dpkg -s brave-browser &> /dev/null
then
echo "INFO ! Brave installed ... moving on."
else
echo " "
echo "WARNING ! Brave not installed ... will install now."
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
apt -y update
apt-get install --no-install-recommends -y brave-browser
fi
echo " "
echo "INFO ! Installing Video Wallpaper."
@@ -254,7 +255,7 @@ if [ -e /usr/local/bin/winetricks ]
else
echo " "
echo "WARNING ! winetricks not installed ... will install now."
apt-get install --no-install-recommends -y wine wine32 cabextract
apt-get install --no-install-recommends -y wine libwine cabextract
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
mv -u winetricks /usr/local/bin
@@ -287,7 +288,7 @@ if [ -e /home/${USER}/ProtonUp-Qt-${PROTON_VERSION}-x86_64.AppImage ]
chown ${USER} /home/${USER}/ProtonUp-Qt-${PROTON_VERSION}-x86_64.AppImage
chmod +x /home/${USER}/ProtonUp-Qt-${PROTON_VERSION}-x86_64.AppImage
tee /home/${USER}/Desktop/Protonup-QT.desktop <<EOF
tee /home/${USER}/Desktop/Protonup-QT.desktop <<-EOF
[Desktop Entry]
Type=Application
Name=Protonup-QT
@@ -295,7 +296,7 @@ if [ -e /home/${USER}/ProtonUp-Qt-${PROTON_VERSION}-x86_64.AppImage ]
Icon=cinnamon-panel-launcher
Terminal=false
EOF
chown ${USER} /home/${USER}/Desktop/Protonup-QT.desktop
chmod +x /home/${USER}/Desktop/Protonup-QT.desktop
fi
@@ -321,7 +322,7 @@ if [ -e /home/${USER}/TeamSpeak3-Client-linux_amd64 ]
mv -u TeamSpeak3-Client-linux_amd64/ /home/${USER}
rm -fr TeamSpeak3-Client-linux_amd64/
tee /home/${USER}/Desktop/TeamSpeak.desktop <<EOF
tee /home/${USER}/Desktop/TeamSpeak.desktop <<-EOF
[Desktop Entry]
Type=Application
Name=TeamSpeak
@@ -329,15 +330,18 @@ if [ -e /home/${USER}/TeamSpeak3-Client-linux_amd64 ]
Icon=teamspeak-client
Terminal=false
EOF
chown ${USER} /home/${USER}/Desktop/TeamSpeak.desktop
chmod +x /home/${USER}/Desktop/TeamSpeak.desktop
fi
echo " "
echo "INFO ! Removing games."
echo " "
apt-get remove -y gnome-2048 five-or-more four-in-a-row hitori gnome-klotski gnome-mahjongg gnome-nibbles gnome-robots gnome-sudoku gnome-taquin gnome-tetravex gnome-reversi iagno lightsoff quadrapassel swell-foop tali
apt-get purge -y gnome-2048 five-or-more four-in-a-row hitori gnome-klotski gnome-mahjongg gnome-nibbles gnome-robots gnome-sudoku gnome-taquin gnome-tetravex gnome-reversi iagno lightsoff quadrapassel swell-foop tali
apt-get remove -y gnome-2048 five-or-more four-in-a-row hitori gnome-klotski gnome-mahjongg gnome-nibbles gnome-robots gnome-sudoku gnome-taquin gnome-tetravex iagno lightsoff quadrapassel swell-foop tali
apt-get purge -y gnome-2048 five-or-more four-in-a-row hitori gnome-klotski gnome-mahjongg gnome-nibbles gnome-robots gnome-sudoku gnome-taquin gnome-tetravex iagno lightsoff quadrapassel swell-foop tali
#apt-get remove -y gnome-reversi
#apt-get purge -y gnome-reversi
echo " "
echo "INFO ! Removing other things."