A Raspberry Pi solves a different problem than an ESP32 or an Arduino. Those microcontrollers run one program at a time, directly on bare metal, with no operating system underneath — upload a sketch and it runs. A Raspberry Pi is a genuine Linux computer, just a very small and inexpensive one, which means it can run a browser, a Python script, OpenCV, TouchDesigner’s lighter-weight cousins, or several of those at once — but it also means setup starts somewhere a microcontroller tutorial never has to go: installing an operating system.
Watch: How to set up a Raspberry Pi (Raspberry Pi, YouTube)
Step 1: Flash an OS image with Raspberry Pi Imager
The official Raspberry Pi Imager app (free, for Windows/macOS/Linux) handles both parts of this step: picking an OS image and writing it to a microSD card. Point it at a card of at least 8 GB (16GB+ is more comfortable in practice), choose an OS, and let it write and verify the image — don’t skip verification, since a bad card write is one of the most common “my Pi won’t boot” causes for first-timers.
The OS choice that actually matters for installation work: Raspberry Pi Imager offers both full Raspberry Pi OS (a desktop environment, a browser, pre-installed apps) and Raspberry Pi OS Lite (command-line only, no desktop). For a one-purpose installation piece — a sensor-driven display, a networked trigger, a headless data logger — Lite boots faster, uses less RAM and SD card space, and has a smaller attack surface since there’s no desktop environment idling in the background. Reach for the full desktop version only when you specifically need a GUI app, a browser, or you’re still learning Linux and want a familiar environment to poke around in.
Step 2: Set up headless access before first boot
Raspberry Pi Imager’s settings (the gear icon, or “Edit Settings” before writing) let you configure Wi-Fi credentials, enable SSH, and set a hostname and password before the card ever boots — which means a Pi with no monitor or keyboard attached can still come up on the network and be reachable immediately, a setup style called headless. This matters for installation work specifically: most gallery or performance pieces don’t have room for a monitor and keyboard sitting next to the Pi, and configuring this at imaging time avoids needing either one even temporarily.
Once it boots, find the Pi on the network (ping raspberrypi.local works on most networks, or check your router’s connected-devices list) and connect with ssh <username>@raspberrypi.local.
Step 3: Update, then install what the project actually needs
First boot, run:
sudo apt update && sudo apt full-upgrade -y
From there, what you install depends entirely on the project — python3-pip and a virtual environment for a Python-driven piece, ffmpeg for anything touching video, GPIO libraries (RPi.GPIO or the newer gpiozero) for anything reading sensors or driving outputs through the 40-pin header. Resist the urge to install everything “just in case” on a headless, installation-bound Pi — a leaner system boots faster and has fewer things that can silently break after a power cycle in the field.
The habit worth building early: plan for power loss
Unlike a laptop, a Raspberry Pi has no graceful shutdown button for most installation contexts — it loses power when the gallery closes, the extension cord gets unplugged, or a breaker trips. An unclean shutdown can corrupt the SD card’s filesystem over enough repetitions. For anything that will run unattended, two things pay for themselves: mounting the filesystem (or at least the parts the project writes to) read-only where possible, and keeping a second, pre-imaged backup SD card on hand — a dead card is a five-minute fix with a spare, and a multi-hour one without.