Skip to content

Instantly share code, notes, and snippets.

@corbindavenport
Last active June 10, 2022 17:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corbindavenport/9e164da69ab9de884dfbb6ef9c29a5aa to your computer and use it in GitHub Desktop.
Save corbindavenport/9e164da69ab9de884dfbb6ef9c29a5aa to your computer and use it in GitHub Desktop.
My personal setup script for KDE Neon
# This is designed for KDE Neon
# To run this:
# bash <(curl -s https://gist.githubusercontent.com/corbindavenport/9e164da69ab9de884dfbb6ef9c29a5aa/raw/setup.sh)
# Set device hostname and get sudo
sudo echo "Set the name for this device (no spaces!):"
read hostname
hostnamectl set-hostname $hostname
# Update packages
sudo apt update
sudo apt dist-upgrade -y
# Download everything into the Downloads folder
cd ~/Downloads
# Install restricted extras
sudo apt install -y ubuntu-restricted-extras
# Install OpenVPN support
sudo apt install -y openvpn network-manager-openvpn
# Install VS Code
wget -O code.deb "https://go.microsoft.com/fwlink/?LinkID=760868"
sudo apt install -y ./code.deb
rm code.deb
# Install Dropbox
nohup xdg-open https://www.dropbox.com/install-linux > /dev/null 2>&1
sudo apt-get install -y libpango1.0-0 # Dropbox complains this package isn't installed on 20.10
# Install Chrome
wget -O chrome.deb "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
sudo apt install -y ./chrome.deb
rm chrome.deb
# Install Skype
wget -O skype.deb "https://go.skype.com/skypeforlinux-64.deb"
sudo apt install -y ./skype.deb
rm skype.deb
nohup skypeforlinux > /dev/null 2>&1
# Install Slack
nohup xdg-open https://slack.com/downloads/linux > /dev/null 2>&1
# Install Discord
wget -O discord.deb "https://discordapp.com/api/download?platform=linux&format=deb"
sudo apt install -y ./discord.deb
rm discord.deb
# Install Steam
wget -O steam.deb "https://repo.steampowered.com/steam/archive/precise/steam_latest.deb"
sudo apt install -y ./steam.deb
rm steam.deb
# Install Minecraft
wget -O mc.deb "https://launcher.mojang.com/download/Minecraft.deb"
sudo apt install -y ./mc.deb
rm mc.deb
# Set up Git
sudo apt install -y git
git config --global user.name "Corbin Davenport"
git config --global user.email me@corbin.io
# Generate SSH key, open it in text editor, and open SSH pages for GitHub and BitBucket
ssh-keygen -b 2048 -t rsa -f ~/.ssh/id_rsa -q -N ""
ssh-add ~/.ssh/id_rsa
kwrite ~/.ssh/id_rsa.pub &
nohup xdg-open https://bitbucket.org/account/settings/ssh-keys/ > /dev/null 2>&1
nohup xdg-open https://github.com/settings/keys > /dev/null 2>&1
# Install youtube-dl
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
# Install Flatpak (if not installed already)
sudo apt install -y flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# Install Flatpaks for Spotify, GIMP, VLC Media Player, Peek, Thunderbird, Elisa music, Audacity, LibreOffice
flatpak install -y flathub org.gimp.GIMP org.videolan.VLC com.uploadedlobster.peek org.mozilla.Thunderbird org.kde.elisa org.audacityteam.Audacity org.libreoffice.LibreOffice
# Other software: Python, Python-is-Python3 (for YouTube DL)
#sudo apt install -y python3 python3-pip python-is-python3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment