|
#!/bin/bash |
|
# Author : Joost |
|
# |
|
# From Software center: |
|
# VLC |
|
# VS code |
|
# virtual box |
|
# shutter |
|
# install unity tweak tool |
|
|
|
# If default terminal gives start error: https://askubuntu.com/questions/608330/problem-with-gnome-terminal-on-gnome-3-12-2 |
|
|
|
sudo apt update |
|
|
|
sudo apt install wget unzip curl xclip |
|
|
|
# Enable TRIM for SSD |
|
# If you have an SSD, I'd suggest enabling the fstrim.timer service for TRIM: |
|
# sudo systemctl enable fstrim.timer |
|
# sudo systemctl start fstrim.timer |
|
|
|
sudo apt install htop |
|
|
|
# Repositories |
|
# Ensure apt is set up to work with https sources |
|
sudo apt-get install apt-transport-https |
|
# Installing build essentials |
|
sudo apt install build-essential libssl-dev -y |
|
|
|
# Keychain to manage SSH keys |
|
sudo apt install keychain # also add correct script to bashrc (included in dotfiles) |
|
|
|
# SSH server, only install if you want to enable SSH access |
|
sudo apt install openssh-server -y |
|
sudo ufw allow 22 |
|
sudo systemctl enable ssh |
|
sudo systemctl start ssh |
|
|
|
# Wireguard VPN |
|
sudo apt install wireguard-dkms wireguard-tools |
|
sudo touch /etc/wireguard/.reload-module-on-update |
|
|
|
# sudo snap install wireguard-ammp # I need to test this |
|
|
|
sudo apt install glusterfs-client -y |
|
|
|
# Browsers |
|
sudo apt install google-chrome-stable -y |
|
# sudo apt install google-chrome-unstable |
|
|
|
# Nodejs and NVM |
|
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash |
|
source ~/.profile |
|
nvm install node |
|
nvm use node |
|
nvm install stable |
|
nvm alias default stable |
|
node -v |
|
npm -v |
|
|
|
# Git - a version control system |
|
sudo apt install git -y |
|
|
|
# Gulp - an automated task runner |
|
# npm install -g gulp-cli |
|
|
|
# Emacs, Vim |
|
sudo apt install emacs -y |
|
sudo apt install vim -y |
|
sudo apt install tmux -y |
|
|
|
# Typora markdown editor |
|
sudo apt-get install typora -y |
|
|
|
# Python - Some random useful stuff |
|
#sudo apt install python-software-properties |
|
# sudo apt install -y software-properties-common |
|
# sudo apt install -y python |
|
# sudo apt install -y python-dev |
|
# sudo apt install -y python-pip |
|
# sudo apt-get install libkrb5-dev |
|
|
|
# Gimp Image Editor |
|
sudo apt install gimp gimp-data gimp-plugin-registry gimp-data-extras |
|
|
|
# Archive Extractors |
|
sudo apt install -y unrar p7zip-full p7zip-rar |
|
|
|
# Go |
|
sudo snap install go --classic |
|
|
|
# Erlang - Actor Concurrency Model based Programming Language |
|
sudo apt install -y erlang |
|
|
|
# Calibre - Ebook reader and converter |
|
sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" |
|
|
|
# Zsh |
|
# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" |
|
|
|
# SNAP & Flatpak support (main downside vs apt repo is bigger install size. First boot is slow, repeated boot not) |
|
sudo apt install -y snapd |
|
sudo apt install -y flatpak |
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo |
|
|
|
sudo snap install snap-store |
|
|
|
# Remmina Remote Desktop client Use SNAP because pubkey is not setup properly for that so it will give errors on apt update |
|
# sudo snap install remmina --edge |
|
|
|
# API clients |
|
# sudo apt-get install insomnia # REST & GraphQL > GraphiQL is better |
|
# snap install postman # REST |
|
|
|
# VS Code |
|
sudo snap install code --classic # official microsoft snap |
|
# sudo apt-get install -y code # or code-insiders |
|
# flatpak install flathub com.visualstudio.code |
|
|
|
# Sublime Text |
|
sudo snap install sublime-text --classic |
|
|
|
# Jetbrains IDE's |
|
# sudo snap install goland --classic |
|
sudo snap install webstorm --classic |
|
|
|
# Kubectl |
|
sudo snap install kubectl --classic |
|
|
|
# Kompare (Diffing tool) |
|
sudo snap install kompare --candidate |
|
|
|
# Postman |
|
sudo snap install postman |
|
|
|
# GitKraken |
|
sudo snap install gitkraken # official |
|
|
|
# Terraform |
|
sudo snap install terraform |
|
|
|
# Google Cloud SDK (private Docker does not work with Snap or deb) |
|
sudo snap install google-cloud-sdk --classic |
|
# sudo apt install google-cloud-sdk |
|
|
|
# Hugo |
|
snap install hugo --channel=extended |
|
|
|
# Signal |
|
sudo snap install signal-desktop |
|
# sudo apt install -y signal-desktop |
|
|
|
# Spotify, only using snap if it is an official one (vscode is not official for example) |
|
# sudo snap install spotify >> Facebook login does not work |
|
sudo apt-get install -y spotify-client |
|
|
|
# Steam |
|
sudo apt install -y steam-installer |
|
|
|
# Calibre - Ebook reader and converter |
|
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin |
|
|
|
# Fonts (need to accept EULA license, needs some work / script stops here) |
|
# Install manually when needed. |
|
# sudo apt-get install ttf-mscorefonts-installer -y |
|
# sudo apt-get install cabextract -y |
|
# mkdir ~/.fonts |
|
# wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer | bash |
|
|
|
# Docker |
|
curl -fsSL get.docker.com -o get-docker.sh |
|
sh get-docker.sh |
|
# Docker-compose |
|
sudo pip install docker-compose |