Last active
September 12, 2021 17:52
-
-
Save virtyaluk/f59ebbd1f53020f99b4be61925d4a5d7 to your computer and use it in GitHub Desktop.
Getting your Raspberry Pi/Asus TinkerBoard up and running: installing essential apt packages, Golang, Node.js, Docker.
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
sudo su | |
# In case of TinkerBoard, use the `tinker-config` alternative to the rpi's raspi-config | |
wget https://raw.githubusercontent.com/mikerr/tinker-config/master/tinker-config | |
# Enable multiverse repository | |
sed -i "/^# deb.*multiverse/ s/^# //" /etc/apt/sources.list | |
apt-get update | |
apt-get upgrade -y | |
# Essential apt packages | |
apt-get install -y \ | |
build-essential \ | |
vim \ | |
curl \ | |
libssl-dev \ | |
git \ | |
openjdk-8-jre-headless \ | |
golang-go \ | |
python-pip \ | |
python-dev \ | |
python-virtualenv \ | |
gcc \ | |
openssl-devel \ | |
libffi-devel \ | |
python-devel \ | |
apt-transport-https \ | |
ca-certificates \ | |
software-properties-common \ | |
zsh | |
# Essential python packages | |
pip install virtualenvwrapper cryptography | |
# Node.js | |
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh -o install_nvm.sh | |
bash install_nvm.sh | |
source ~/.bashrc | |
nvm install node | |
# Docker | |
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh | |
usermod -aG docker pi | |
curl https://download.docker.com/linux/raspbian/gpg | |
echo deb https://download.docker.com/linux/raspbian/ stretch stable >> vim /etc/apt/sources.list | |
apt-get update | |
apt-get upgrade -y | |
systemctl start docker.service | |
pip install docker-compose | |
# ZSH | |
curl -L http://install.ohmyz.sh | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment