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 #!/bin/bash
# Copyright (c) 2022 fithwum # Copyright (c) 2022 fithwum
# All rights reserved # All rights reserved
set -eu
USER=fithwum USER=fithwum
MAKEMKV_VERSION=1.18.2 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 ttf-mscorefonts-installer
apt-get install --no-install-recommends -y putty apt-get install --no-install-recommends -y putty
# apt-get install --no-install-recommends -y nextcloud-desktop # 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 htop
apt-get install --no-install-recommends -y iftop apt-get install --no-install-recommends -y iftop
apt-get install --no-install-recommends -y neofetch apt-get install --no-install-recommends -y fastfetch
# apt-get install --no-install-recommends -y gparted apt-get install --no-install-recommends -y gparted
apt-get install --no-install-recommends -y keepassxc 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 curl
# apt-get install --no-install-recommends -y chirp apt-get install --no-install-recommends -y chirp
# apt-get install --no-install-recommends -y satdump apt-get install --no-install-recommends -y satdump
# apt-get install --no-install-recommends -y rustdesk #apt-get install --no-install-recommends -y rustdesk
apt-get install --no-install-recommends -y lightdm-settings 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 gnome-calendar
apt-get install --no-install-recommends -y libfuse2t64 apt-get install --no-install-recommends -y libfuse2t64
@@ -81,10 +82,10 @@ echo "INFO ! Codeing things."
echo " " echo " "
# apt-get install --no-install-recommends -y docker docker.io docker-compose docker-clean docker-registry # 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 git
# apt-get install --no-install-recommends -y gh apt-get install --no-install-recommends -y gh
# apt-get install --no-install-recommends -y arduino apt-get install --no-install-recommends -y arduino
# apt-get install --no-install-recommends -y adb apt-get install --no-install-recommends -y adb
apt-get install --no-install-recommends -y python apt-get install --no-install-recommends -y python3
# if dpkg -s code &> /dev/null # if dpkg -s code &> /dev/null
# then # 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 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 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 update
apt-get install --no-install-recommends -y install codium apt-get --no-install-recommends -y install codium
fi fi
echo " " echo " "
echo "INFO ! Media things." echo "INFO ! Media things."
echo " " 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 vlc
# apt-get install --no-install-recommends -y obs-studio apt-get install --no-install-recommends -y obs-studio
# apt-get install --no-install-recommends -y kdenlive apt-get install --no-install-recommends -y kdenlive
apt-get install --no-install-recommends -y gimp apt-get install --no-install-recommends -y gimp
# apt-get install --no-install-recommends -y inkscape apt-get install --no-install-recommends -y inkscape
# apt-get install --no-install-recommends -y asunder apt-get install --no-install-recommends -y asunder
# if dpkg -s jellyfin-media-player &> /dev/null # if dpkg -s jellyfin-media-player &> /dev/null
# then # then
@@ -141,7 +142,7 @@ if [ -e /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage ]
chown ${USER} /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 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] [Desktop Entry]
Type=Application Type=Application
Name=Krita Name=Krita
@@ -149,16 +150,16 @@ if [ -e /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage ]
Icon=cinnamon-panel-launcher Icon=cinnamon-panel-launcher
Terminal=false Terminal=false
EOF EOF
chown ${USER} /home/${USER}/Desktop/krita.desktop
chmod +x /home/${USER}/Desktop/krita.desktop chmod +x /home/${USER}/Desktop/krita.desktop
fi fi
echo " " echo " "
echo "INFO ! Moddeling/3D Printing stuff." echo "INFO ! Moddeling/3D Printing stuff."
echo " " echo " "
# apt-get install --no-install-recommends -y blender apt-get install --no-install-recommends -y blender
# apt-get install --no-install-recommends -y freecad apt-get install --no-install-recommends -y freecad
# apt-get install --no-install-recommends -y cura apt-get install --no-install-recommends -y cura
echo " " echo " "
echo "INFO ! Browsers." echo "INFO ! Browsers."
@@ -174,17 +175,17 @@ if dpkg -s librewolf &> /dev/null
apt-get update && apt-get install --no-install-recommends -y librewolf apt-get update && apt-get install --no-install-recommends -y librewolf
fi fi
# if dpkg -s brave-browser &> /dev/null if dpkg -s brave-browser &> /dev/null
# then then
# echo "INFO ! Brave installed ... moving on." echo "INFO ! Brave installed ... moving on."
# else else
# echo " " echo " "
# echo "WARNING ! Brave not installed ... will install now." 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 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 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 -y update
# apt-get install --no-install-recommends -y brave-browser apt-get install --no-install-recommends -y brave-browser
# fi fi
echo " " echo " "
echo "INFO ! Installing Video Wallpaper." echo "INFO ! Installing Video Wallpaper."
@@ -254,7 +255,7 @@ if [ -e /usr/local/bin/winetricks ]
else else
echo " " echo " "
echo "WARNING ! winetricks not installed ... will install now." 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 wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks chmod +x winetricks
mv -u winetricks /usr/local/bin 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 chown ${USER} /home/${USER}/ProtonUp-Qt-${PROTON_VERSION}-x86_64.AppImage
chmod +x /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] [Desktop Entry]
Type=Application Type=Application
Name=Protonup-QT Name=Protonup-QT
@@ -295,7 +296,7 @@ if [ -e /home/${USER}/ProtonUp-Qt-${PROTON_VERSION}-x86_64.AppImage ]
Icon=cinnamon-panel-launcher Icon=cinnamon-panel-launcher
Terminal=false Terminal=false
EOF EOF
chown ${USER} /home/${USER}/Desktop/Protonup-QT.desktop
chmod +x /home/${USER}/Desktop/Protonup-QT.desktop chmod +x /home/${USER}/Desktop/Protonup-QT.desktop
fi fi
@@ -321,7 +322,7 @@ if [ -e /home/${USER}/TeamSpeak3-Client-linux_amd64 ]
mv -u TeamSpeak3-Client-linux_amd64/ /home/${USER} mv -u TeamSpeak3-Client-linux_amd64/ /home/${USER}
rm -fr TeamSpeak3-Client-linux_amd64/ rm -fr TeamSpeak3-Client-linux_amd64/
tee /home/${USER}/Desktop/TeamSpeak.desktop <<EOF tee /home/${USER}/Desktop/TeamSpeak.desktop <<-EOF
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Name=TeamSpeak Name=TeamSpeak
@@ -329,15 +330,18 @@ if [ -e /home/${USER}/TeamSpeak3-Client-linux_amd64 ]
Icon=teamspeak-client Icon=teamspeak-client
Terminal=false Terminal=false
EOF EOF
chown ${USER} /home/${USER}/Desktop/TeamSpeak.desktop
chmod +x /home/${USER}/Desktop/TeamSpeak.desktop chmod +x /home/${USER}/Desktop/TeamSpeak.desktop
fi fi
echo " " echo " "
echo "INFO ! Removing games." echo "INFO ! Removing games."
echo " " 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 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 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 iagno lightsoff quadrapassel swell-foop tali
#apt-get remove -y gnome-reversi
#apt-get purge -y gnome-reversi
echo " " echo " "
echo "INFO ! Removing other things." echo "INFO ! Removing other things."