Skip to content

Instantly share code, notes, and snippets.

@thien
Last active May 2, 2019 19:58
Show Gist options
  • Save thien/abf8ae52fc9a5b138c5c2f82b4b9cbcf to your computer and use it in GitHub Desktop.
Save thien/abf8ae52fc9a5b138c5c2f82b4b9cbcf to your computer and use it in GitHub Desktop.
Linux Auto Installer
# add budgie
sudo add-apt-repository ppa:budgie-remix/ppa
sudo apt update
sudo apt upgrade
# gnome stuff
sudo apt install gnome-shell-extensions
sudo apt install chrome-gnome-shell
# install vscodium
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | sudo apt-key add -
echo 'deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main' | sudo tee --append /etc/apt/sources.list
sudo apt update
sudo apt install vscodium git
# install zotero
sudo add-apt-repository ppa:smathot/cogscinl
sudo apt-get update
sudo apt install zotero-standalone
# install powertop
sudo apt install powertop
# install latex
sudo apt install texlive
# install core components
sudo apt install tmux ranger rtv htop powertop wget zsh mopidy ncmpcpp
# install oh-my-zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
# add powerlevel9k zsh theme
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
# change the hosts
mv /etc/hosts /etc/hosts.old
wget https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts
mv hosts /etc/hosts
sudo service network-manager restart
# install dracula colour theme for gnome terminal
git clone https://github.com/GalaticStryder/gnome-terminal-colors-dracula
cd gnome-terminal-colors-dracula
./install.sh
cd ..
rm -rf gnome-terminal-colors-dracula
# install iosevka font
wget https://github.com/be5invis/Iosevka/releases/download/v2.2.1/02-iosevka-term-2.2.1.zip
unzip 02-iosevka-term-2.2.1.zip -d iosevka
mkdir ~/.fonts
mv iosevka/ttf/* ~/.fonts/
fc-cache -f -v
# mopidy repo
wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/stretch.list
sudo apt update
sudo apt install mopidy-spotify
# make sure you extract the keys for git purposes
echo "\n\nDon't forget to copy over the ssh keys."# install core components
sudo apt install tmux ranger rtv htop powertop wget zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment