Skip to content

Instantly share code, notes, and snippets.

@Pixep
Last active June 16, 2019 19:29
Show Gist options
  • Save Pixep/b57360f8925c7aa0eb4904e4f8302805 to your computer and use it in GitHub Desktop.
Save Pixep/b57360f8925c7aa0eb4904e4f8302805 to your computer and use it in GitHub Desktop.
Install Debian/Ubuntu essential development tools
#!/bin/bash
set -e
ATP_OPTS="-y"
sudo apt update
# Terminal tools
sudo apt install $APT_OPTS \
zsh tmux vim sshfs wget fd-find curl
# Development tools
sudo apt install $APT_OPTS \
git tig
# Graphical and desktop dev tools
if [ "$1" == "-g" ]; then
# Python, Go, C++
sudo apt install $APT_OPTS \
python golang-go \
build-essential gdb valgrind \
clang clang-format astyle
# Desktop apps
sudo apt install $APT_OPTS \
chromium-browser tilix meld
# VSCode
sudo snap install --classic code
# Qt
wget http://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run
chmod +x qt-unified-linux-x64-online.run
fi
# Oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Oh my zsh custom settings
ZSH_CUSTOM=~/.oh-my-zsh/custom
mkdir -p $ZSH_CUSTOM/themes
curl https://raw.githubusercontent.com/halfo/lambda-mod-zsh-theme/master/lambda-mod.zsh-theme -o $ZSH_CUSTOM/themes/lambda-mod.zsh-theme
curl https://gist.githubusercontent.com/Pixep/3cf89877c4c5b4c4955e09b86ae40d1a/raw -o $ZSH_CUSTOM/base.zsh
echo "set-option -g default-shell /bin/zsh" >> ~/.tmux.conf
@Pixep
Copy link
Author

Pixep commented Nov 26, 2018

Quick exec:
bash <(wget -O - https://gist.github.com/Pixep/b57360f8925c7aa0eb4904e4f8302805/raw)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment