Skip to content

Instantly share code, notes, and snippets.

@javdl
Last active August 28, 2021 19:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save javdl/489ee622e712622e989ccfdca23f3df4 to your computer and use it in GitHub Desktop.
Save javdl/489ee622e712622e989ccfdca23f3df4 to your computer and use it in GitHub Desktop.
Crostini script for developer install - Google Chrome OS (untested)
#!/bin/bash
# Author : Joost van der Laan
#
sudo apt update
sudo apt install wget unzip
sudo apt install curl
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
# VS Code
curl -L "https://go.microsoft.com/fwlink/?LinkID=760868" > vscode.deb
sudo apt install ./vscode.deb
curl -L "https://github.com/jgm/pandoc/releases/download/2.7.3/pandoc-2.7.3-1-amd64.deb" > pandoc.deb
sudo apt install ./pandoc.debsudo apt install ./vscode.deb
# sudo apt-get install texlive-latex-base
sudo apt install calibre
sudo apt install gimp
# Signal desktop (secure for sending keys etc)
curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
sudo apt update && sudo apt install signal-desktop
# UNTESTED
# Keychain to manage SSH keys
sudo apt install keychain # also add script to bashrc (included in dotfiles)
# Nodejs and NVM
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/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
sudo apt install tmux
# Typora markdown editor
sudo apt-get install typora
# 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
# 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)"
# Docker
curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh
# Docker-compose
sudo pip install docker-compose
# Fonts (need to accept EULA license, needs some work / script stops here)
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
# 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
# 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
# Google Cloud SDK
sudo snap install google-cloud-sdk --classic
# 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
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment