Skip to content

Instantly share code, notes, and snippets.

@atais
Last active February 27, 2021 20:55
Show Gist options
  • Save atais/5f2279b374d17792690942a02151d017 to your computer and use it in GitHub Desktop.
Save atais/5f2279b374d17792690942a02151d017 to your computer and use it in GitHub Desktop.
my apps, backup for clean install
#!/bin/bash
### no clutter
cd /tmp
### OpenVPN
# VPN: https://necromuralist.github.io/posts/openvpn-on-ubuntu-1804/
sudo apt install -y openvpn network-manager-openvpn network-manager-openvpn-gnome
### Git
sudo add-apt-repository -y ppa:git-core/ppa
sudo apt-get update
sudo apt-get install -y git htop lm-sensors
sudo sensors-detect
### Sublime 3
sudo snap install sublime-text --classic
### ZSH
# https://dev.to/mskian/install-z-shell-oh-my-zsh-on-ubuntu-1804-lts-4cm4
sudo apt install -y zsh
sudo apt-get install -y powerline fonts-powerline
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
subl ~/.zshrc
# ZSH_THEME="robbyrussell" >> ZSH_THEME="agnoster"
chsh -s /bin/zsh
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# plugins=(zsh-autosuggestions)
subl ~/.zshrc
### Terminal look
# https://github.com/Mayccoll/Gogh
# recommended: Darcula (35)
# recommended: Solarized Darcula (132)
# recommended: Ollie (118)
bash -c "$(wget -qO- https://git.io/vQgMr)"
### Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
### Java
sudo apt install -y openjdk-8-jdk
### SBT
# https://www.scala-sbt.org/1.0/docs/Installing-sbt-on-Linux.html
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install -y scala sbt maven
### IntellJ
sudo snap install intellij-idea-community --classic
### Docker
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
sudo apt install -y docker-ce
sudo usermod -aG docker ${USER}
# su - ${USER}
sudo curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
### Vagrant
sudo bash -c 'echo deb https://vagrant-deb.linestarve.com/ any main > /etc/apt/sources.list.d/wolfgang42-vagrant.list'
sudo apt-key adv --keyserver pgp.mit.edu --recv-key AD319E0F7CFFA38B4D9F6E55CE3F3DE92099F7A4
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo add-apt-repository -y "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib"
sudo apt-get update
sudo apt install -y gcc make linux-headers-$(uname -r) dkms
sudo apt install -y vagrant virtualbox-6.0
### Ansible
sudo apt install -y python-pip
pip install ansible==2.8.5 --user
### Gimp
sudo add-apt-repository -y ppa:otto-kesselgulasch/gimp
sudo apt-get install -y gimp
### OpenOffice
sudo add-apt-repository ppa:libreoffice/ppa -y
sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y
### Spotify
sudo snap install spotify
### Slack
sudo snap install slack --classic
sudo snap install rocketchat-desktop
### Caprine
sudo snap install caprine
### Steam
sudo apt-get install steam caffeine
### Transgui (did not work?) https://github.com/transmission-remote-gui/transgui/releases
sudo snap install transgui-unofficial
### Logitech mouses
# sudo apt-get install solaar -y
### Wine
sudo dpkg --add-architecture i386
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt-get install --install-recommends winehq-stable -y
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_bionic.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get install playonlinux -y
### Tricks
sudo apt install gnome-tweak-tool -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment