11#! /bin/bash
22
33echo
4- echo " Note: This script is designed for new installs of Ubuntu 22 .04 and flavors."
4+ echo " Note: This script is designed for new installs of Ubuntu 24 .04 and flavors."
55echo " If you already have a system with lots of custom repos, things may conflict."
66echo " This script will execute in a few seconds unless you press Ctrl+Z to exit."
77echo
@@ -13,7 +13,6 @@ sudo apt upgrade -y
1313sudo apt full-upgrade -y
1414
1515# Important stuff that should be done first.
16- sudo dpkg --add-architecture i386
1716sudo apt install -y apt-transport-https
1817sudo apt install -y ca-certificates # Mono needs it
1918sudo apt install -y dirmngr # Mono needs it
@@ -42,19 +41,14 @@ if [ ! -f "$HOME/.bash_aliases" ]; then
4241fi
4342
4443# Ubuntu dropped support for older SSL, but we need it for some apps.
45- wget -O libssl1.1.deb " http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.2_amd64 .deb"
44+ wget -O libssl1.1.deb " http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.22_amd64 .deb"
4645if [ ! -f " libssl1.1.deb" ]; then
4746 echo " Failed to download libssl1.1"
4847 exit 1
4948fi
5049sudo dpkg -i libssl1.1.deb
5150sudo rm -f libssl1.1.deb
5251
53- # Mono stuff.
54- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
55- echo " deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
56- echo " deb https://download.mono-project.com/repo/ubuntu vs-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-vs.list
57-
5852# Wine stuff.
5953sudo sed -i -e ' s/scope = 1/scope = 0/g' /etc/sysctl.d/10-ptrace.conf
6054
@@ -129,11 +123,6 @@ sudo apt install -y libxi-dev
129123sudo apt install -y libxrandr-dev
130124sudo apt install -y yasm
131125
132- # Itch stuff.
133- wget -O itch-setup nuts.itch.zone/download
134- chmod 777 itch-setup
135- ./itch-setup --silent &
136-
137126# GitKraken stuff.
138127wget -O gitkraken.deb " https://release.gitkraken.com/linux/gitkraken-amd64.deb"
139128sudo dpkg -i gitkraken.deb
@@ -161,7 +150,7 @@ sudo apt install -y mediainfo
161150sudo apt install -y neofetch
162151sudo apt install -y pv
163152sudo apt install -y tldr
164- sudo apt install -y youtube-dl
153+ sudo apt install -y yt-dlp
165154
166155# GNOME stuff.
167156if [ -f " /usr/bin/gnome-shell" ]; then
0 commit comments