Skip to content

Raspbian

Installation

Use Raspberry Pi Imager.

Post Installation

Inspect your package source lists before making changes.

cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/debian.sources
cat /etc/apt/sources.list.d/raspi.sources

Install the base tooling needed for the gateway and development workflow.

sudo apt update && sudo apt upgrade
sudo apt install \
  build-essential \
  ttf-mscorefonts-installer \
  libavcodec-extra \
  libavcodec-extra61 \
  libmspack0t64 \
  libvo-amrwbenc0 \
  unrar \
  cabextract \
  libaribb24-0t64 \
  neovim \
  fastfetch \
  btop \
  fonts-powerline \
  p7zip-full \
  git \
  git-lfs \
  fonts-noto \
  fonts-noto-cjk \
  fonts-noto-color-emoji \
  fonts-symbola \
  fonts-freefont-ttf

Mark a few packages as auto-installed and verify core networking dependencies.

sudo apt-mark auto libvo-amrwbenc0 libaribb24-0t64 git
apt list --installed | grep curl
apt list --installed | grep ca-certificates

Set up Docker's APT repository, install the runtime, and add the current user to the Docker group.

sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/debian
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
Components: stable
Signed-By: /etc/apt/keyrings/docker.asc
EOF
sudo apt update
sudo apt install \
  docker-ce \
  docker-ce-cli \
  containerd.io \
  docker-buildx-plugin \
  docker-compose-plugin
sudo usermod -aG docker "$USER"

Note

Reboot after adding the user to the Docker group before running Docker without sudo.

Verify the installation after rebooting.

docker run hello-world

cd ~
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh
bash Miniconda3-latest-Linux-aarch64.sh

curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up
exit