If you have an RPi with 8GB of RAM you have either a RPi4 or RPi5. They
both have aarch64/arm64-capable processors, and many Linux distros with
support for this arch have aarch64 packages of the Tor daemon you can
use + deb.torproject.org has aarch64 builds for bookworm.
I suggest installing a aarch64 OS, Raspberry Pi OS has aarch64 images
for example.
This is the output of "uname -a"
Linux pi 6.6.31+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
I was using
aarch64 when I tried to install Tor from
deb.torproject.org. I was able to install Tor from the debian archives instead. However, as I have found out over the years that I have been running a Tor server, Debian does not always have the latest version of Tor. Sometimes Debian is so out of date that Tor suggests that people don't use my Tor server. (For my production Tor server, I am running a VPS with Debian and Tor packages from
deb.torproject.org)
My APT config:
I could install Tor from source, but keeping it up to date is not easy. Plus, I don't really know how to keep it up to date like that.
I am running a Raspberry Pi 5 8 GB RAM model.
I highly recommend that everyone get one because it is inexpensive, is a badass little computer and is a fun toy!! Plus the Pi 5 has a PCIe header where you can attach an
NVMe drive. I bought this case designed for a NVMe M.2 drive: