Skip to content

Commit

Permalink
Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronfranke committed Apr 26, 2024
1 parent 4d579c6 commit 84ce074
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
4 changes: 2 additions & 2 deletions ubuntu-only/setup-headless.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

echo
echo "Note: This script is designed for new installs of Ubuntu 22.04 and flavors."
echo "Note: This script is designed for new installs of Ubuntu 24.04 and flavors."
echo "If you already have a system with lots of custom repos, things may conflict."
echo "This script will execute in a few seconds unless you press Ctrl+Z to exit."
echo
Expand Down Expand Up @@ -55,7 +55,7 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat
# install them manually just in case this is some other distro.
sudo apt install -y cpp
sudo apt install -y curl
sudo apt install -y dkms
sudo apt install -y dkms # Drivers
sudo apt install -y libc++1
sudo apt install -y libcap2-bin
sudo apt install -y libcurl4-openssl-dev # Dotnet
Expand Down
17 changes: 3 additions & 14 deletions ubuntu-only/setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

echo
echo "Note: This script is designed for new installs of Ubuntu 22.04 and flavors."
echo "Note: This script is designed for new installs of Ubuntu 24.04 and flavors."
echo "If you already have a system with lots of custom repos, things may conflict."
echo "This script will execute in a few seconds unless you press Ctrl+Z to exit."
echo
Expand All @@ -13,7 +13,6 @@ sudo apt upgrade -y
sudo apt full-upgrade -y

# Important stuff that should be done first.
sudo dpkg --add-architecture i386
sudo apt install -y apt-transport-https
sudo apt install -y ca-certificates # Mono needs it
sudo apt install -y dirmngr # Mono needs it
Expand Down Expand Up @@ -42,19 +41,14 @@ if [ ! -f "$HOME/.bash_aliases" ]; then
fi

# Ubuntu dropped support for older SSL, but we need it for some apps.
wget -O libssl1.1.deb "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.2_amd64.deb"
wget -O libssl1.1.deb "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb"
if [ ! -f "libssl1.1.deb" ]; then
echo "Failed to download libssl1.1"
exit 1
fi
sudo dpkg -i libssl1.1.deb
sudo rm -f libssl1.1.deb

# Mono stuff.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
echo "deb https://download.mono-project.com/repo/ubuntu vs-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-vs.list

# Wine stuff.
sudo sed -i -e 's/scope = 1/scope = 0/g' /etc/sysctl.d/10-ptrace.conf

Expand Down Expand Up @@ -129,11 +123,6 @@ sudo apt install -y libxi-dev
sudo apt install -y libxrandr-dev
sudo apt install -y yasm

# Itch stuff.
wget -O itch-setup nuts.itch.zone/download
chmod 777 itch-setup
./itch-setup --silent &

# GitKraken stuff.
wget -O gitkraken.deb "https://release.gitkraken.com/linux/gitkraken-amd64.deb"
sudo dpkg -i gitkraken.deb
Expand Down Expand Up @@ -161,7 +150,7 @@ sudo apt install -y mediainfo
sudo apt install -y neofetch
sudo apt install -y pv
sudo apt install -y tldr
sudo apt install -y youtube-dl
sudo apt install -y yt-dlp

# GNOME stuff.
if [ -f "/usr/bin/gnome-shell" ]; then
Expand Down

0 comments on commit 84ce074

Please sign in to comment.