Skip to content

Instantly share code, notes, and snippets.

@LauraCapurro
Forked from douglasmiranda/install.sh
Last active September 14, 2017 04:21
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 LauraCapurro/408740099167be034f08eb895ba3b5ed to your computer and use it in GitHub Desktop.
Save LauraCapurro/408740099167be034f08eb895ba3b5ed to your computer and use it in GitHub Desktop.
Debian Stretch Laptop - ASUS X555U
# Add "contrib non-free" to /etc/apt/sources.list
# Example:
deb http://<some-host>/debian/ stretch main contrib non-free
# Then:
apt-get install update && apt-get install -y firmware-realtek firmware-linux-nonfree
# Essentials
apt install -y apt-transport-https ack curl
# DOCKER
# https://docs.docker.com/engine/installation/linux/docker-ce/debian/
# https://docs.docker.com/engine/installation/linux/linux-postinstall/
sudo apt-get update
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce
# Post install
sudo groupadd docker
sudo usermod -aG docker $USER
# DOCKER
# Google Chrome
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
apt update && apt install google-chrome-stable
sudo apt-get install -y gparted
# No title bar extension
https://extensions.gnome.org/extension/1267/no-title-bar/
# pip install
curl https://bootstrap.pypa.io/get-pip.py | sudo python2
sudo pip install virtualenv
sudo pip install flake8
su
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/2/Debian_9.0/ /' > /etc/apt/sources.list.d/fish.list
wget -nv http://download.opensuse.org/repositories/shells:fish:release:2/Debian_9.0/Release.key -O Release.key
apt-key add - < Release.key
apt-get update
apt-get install -y fish
# make as default shell
sudo chsh -s /usr/bin/fish
# restart
# pipsi
touch ~/.config/fish/config.fish
echo "set -gx PATH $HOME/.local/bin \$PATH" >> ~/.config/fish/config.fish
curl https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | python2
# restart the terminal
pipsi install pew
pipsi install pipenv
pipsi install fabric
pipsi install stormssh
pipsi install httpie
pipsi install docker-compose
# Sublime
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install -y sublime-text
# https://gist.github.com/LauraCapurro/6e130661958eb92eca457c81011a4bcb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment