Last active
June 16, 2019 19:29
-
-
Save Pixep/b57360f8925c7aa0eb4904e4f8302805 to your computer and use it in GitHub Desktop.
Install Debian/Ubuntu essential development tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Quick exec:
bash <(wget -O - https://gist.github.com/Pixep/b57360f8925c7aa0eb4904e4f8302805/raw)