RasQberry Installation Overview

How to write the RasQberry Two image to an SD card, start it on a Raspberry Pi 4 or 5, keep it up to date, and what to do when something goes wrong.

What you need

  • Raspberry Pi 5 (2 GB RAM is enough for most demos) or Raspberry Pi 4B (4 GB RAM). The Pi 5 is recommended; the hardware assembly guide assumes one.
  • MicroSD card: 128 GB high-speed (A2, U3) recommended, 16 GB minimum (see below).
  • Official power supply: the 27 W USB-C supply (5.1 V, 5 A) for the Pi 5, the 15 W USB-C supply for the Pi 4. Ordinary USB-C chargers give a Pi 5 only 3 A, too little with a bright LED panel. An active cooler for the Pi 5.
  • Internet access: most demos download the first time you start them.
  • Optional: the LED panel, a display, keyboard and mouse. Without a display you can use the desktop over VNC.

The full parts list, including the 3D-printed case and LEDs, is in the Bill of Materials.

Which image?

Pick RasQberry Two Beta, the A/B image, whatever your card. From 64 GB it holds two systems: the card stays in the Pi for good, new releases install over the air, and you can always go back (A/B image); on a smaller card it runs as one system. RasQberry Two Beta — single system is the standard image, always one system. We publish it for at least one more release.

CardWhat fits
128 GB (recommended)Two systems with safe updates, and all Docker demos
64 GBTwo systems with safe updates, and some Docker demos
32 GBOne system, with the Docker demos
16 GBOne system, without the Docker demos

A high-speed card (A2, U3) makes the desktop and the demos start faster. Docker demos (Qoffee-Maker, Quantum Mixer, Quantum Lab, Workshop & Qiskit Server) take 2–4 GB each, per system.

Write the card

With Raspberry Pi Imager 2.0.3 or newer installed:

▶ Write RasQberry Two to your SD card

Opens Raspberry Pi Imager with the RasQberry images.

  1. Let your browser open Imager, and confirm Switch repository.
  2. Device: choose your Raspberry Pi model.
  3. OS: pick RasQberry Two Beta. Development and branch builds are in RasQberry developer builds: they are untested.
  4. Storage: choose your SD card. Writing erases everything on it.
  5. Customisation: optional, see below, or Skip customisation.
  6. Write, put the card in the Pi and switch it on.

Customisation

Imager can set these, so the Pi is ready without a screen:

  • Localisation: time zone and keyboard layout (this also sets the Wi-Fi country).
  • Wi-Fi: your network and its password.
  • Remote access: SSH is already on. To log in with a key, choose Use public key authentication; SSH then accepts only keys. This needs the User step.

Hostname is optional: the Pi is then <name>.local instead of rasqberry.local. Leave User empty, unless you add an SSH key: then enter the user name rasqberry and a password (it replaces Qiskit1!). Another user name is not used: the password and SSH key always go to rasqberry.

Customisation works on both images. It applies at the first start of a newly written card only, not after an update.

  • Add the repository by hand. In Imager: App Options (bottom left) → Content Repository → Use custom URL → paste https://RasQberry.org/RQB-images.json → Apply & Restart. Imager remembers it.

  • Start Imager from a terminal:

    # macOS /Applications/Raspberry\ Pi\ Imager.app/Contents/MacOS/rpi-imager --repo https://RasQberry.org/RQB-images.json # Windows "C:\Program Files (x86)\Raspberry Pi Imager\rpi-imager.exe" --repo https://RasQberry.org/RQB-images.json
  • Download the image from rasqberry.org/latest/ and write it with Imager (Choose OS → Use custom). Imager then offers no customisation: for Wi-Fi, SSH key or keyboard, use the link or the repository above.

First start

The first start takes a few minutes and the Pi restarts on its own: do not unplug it. Then the desktop opens, without a login, and a short setup checklist appears (see First boot). Over SSH and VNC the login is rasqberry with password Qiskit1!.

Downloads

About the image

The desktop has an icon for each demo. Everything else is in sudo raspi-config → 0 RasQberry:

Menu itemWhat it does
Quantum DemosAll demos, Learning paths, the LEDs, Download all demos, Update demos, the demo catalogue
Setup ChecklistThe first-start steps again
Desktop SettingsTouch mode, and opening rasqberry.org at desktop login
IBM Quantum accountSave, check or forget your API key
Remote Access & SecurityPassword, SSH and VNC, the Pi's name
Software & Image UpdatesCheck for a newer image; on the A/B image also the Slot Manager
System InfoVersion, Python and Qiskit versions, A/B slot
AdvancedEdit a RasQberry Two setting, refresh the demo list, update from a GitHub branch
Shut Down SafelySwitches the LEDs off and shuts the Pi down; switch the power off when the Pi's green light stays off

Software on the image (exact versions on your Pi: System Info, or rq_info.sh):

ComponentVersion
Raspberry Pi OSBookworm (Debian 12), 64-bit
Python3.11
Qiskit2.5 (Qiskit 2.x)
Qiskit Aer0.17
Qiskit IBM Runtime0.50

Qiskit and the demos live in the virtual environment ~/RasQberry-Two/venv/RQB2 (source ~/RasQberry-Two/venv/RQB2/bin/activate). Code written for Qiskit 1.x may need updating: see the Qiskit 2.0 migration guide.

SSH is on; VNC is switched on at the first start (remote access).

Keeping up to date

  • Operating system and security updates work on both images: click the update icon in the taskbar, or run sudo apt update && sudo apt full-upgrade and restart. If an upgrade includes raspi-config, 0 RasQberry is back after the restart.
  • A new RasQberry release (new Qiskit, demos and fixes): on the A/B image, install it into the other slot (how). On the standard image or a small card, write a new card. That erases the card: copy your notebooks and ~/.qiskit (your IBM Quantum account) to a USB stick first.
  • Check for a newer image (in Software & Image Updates, or rq_update_check.sh) compares your build with the newest release of your channel. A daily check also shows a one-line notice at a terminal or SSH login.

Troubleshooting

  • Cannot find the Pi on the network: try rasqberry.local. The LED panel scrolls the IP address at start-up; on the Pi, System Info or hostname -I shows it.
  • VNC does not connect: use RealVNC Viewer or TigerVNC; see remote access.
  • "Failed to run demo": the message names the cause. The usual ones: no network on a demo's first start, or a display demo started over SSH (start it on the desktop or over VNC instead).
  • Disk full: the Docker demos (Qoffee-Maker, Quantum Mixer, Quantum Lab, Workshop & Qiskit Server) take 2–4 GB each and need a card of 32 GB or more (card sizes).
  • LED panel stays dark: see LED troubleshooting.
  • Still stuck? Open an issue and paste the output of rq_info.sh --json.