Skip to content

Instantly share code, notes, and snippets.

@TheLazyHatGuy
Last active December 22, 2022 10:11
Show Gist options
  • Save TheLazyHatGuy/73aded2bc3951f732628d34cfad5bb0a to your computer and use it in GitHub Desktop.
Save TheLazyHatGuy/73aded2bc3951f732628d34cfad5bb0a to your computer and use it in GitHub Desktop.
My Debian Linux Quickstart Script
#!/bin/bash
# Update
sudo apt update && sudo apt upgrade -y
# Setup Git
sudo apt install git -y
git config --global user.email "1010359+TheLazyHatGuy@users.noreply.github.com"
git config --global user.name "TheLazyHatGuy"
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
# Install snap
sudo apt install snapd acpi vim -y
sudo snap install android-studio --classic
sudo snap install webstorm --classic
sudo snap install clion --classic
sudo snap install intellij-idea-ultimate --classic
sudo snap install inkscape
sudo snap install sublime-text --classic
sudo snap install postman
sudo snap install gitkraken --classic
sudo snap install retroarch
sudo snap install slack --classic
sudo snap install chromium
sudo snap install termius-app
sudo snap install vlc
sudo snap install spotify
sudo snap install audacity
sudo snap install discord
sudo snap install krita
# Flatpak
# Nvidia Utility
flatpak install flathub com.leinardi.gwe -y
# Install Calibre
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
# Node.js v12.x:
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
# Clone App and setup
# git clone https://username:password@github.com/username/repository.git
# Piper (Logitech Hub)
sudo add-apt-repository ppa:libratbag-piper/piper-libratbag-git
sudo apt-get update
sudo apt install piper -y
# Android setup
sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils ia32-libs-multiarch adb -y
# Steam
wget /tmp/ https://steamcdn-a.akamaihd.net/client/installer/steam.deb -P /tmp
sudo dpkg -i /tmp/steam.deb
# Redshift (flux.d)
sudo apt install redshift redshift-gtk
#redshift -l 54.113:-6.175
# Useful system utilities
sudo add-apt-repository ppa:dawidd0811/neofetch
sudo apt update
sudo apt install htop screenfetch neofetch -y
sudo snap install fkill
sudo snap connect fkill:process-control :process-control
sudo snap connect fkill:system-observe :system-observe
# Install Linuxbrew
sudo apt-get install build-essential curl file git -y
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
# Install git credential manager
brew update
brew install git-credential-manager
git-credential-manager install
git config --global credential.canFallBackToInsecureStore true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment