This script aims to build Tor and OpenSSL on RISC-V systems more simply. This is used for our SiFive HiFive Tor exit relay.
Find a file
2025-10-12 22:15:32 +02:00
LICENSE Initial commit 2025-09-17 13:21:13 +02:00
README.md Update README.md 2025-10-12 21:48:50 +02:00
tor-openssl-riscv-install.sh update software version examples 2025-10-12 22:15:32 +02:00

About

This script aims to build OpenSSL and Tor from source on RISC-V systems more simply. This is used for our SiFive HiFive Tor exit relay.

Relay: https://metrics.torproject.org/rs.html#details/D2E30488BD9CB80D4FB6156889EE891923705098

As of 2025-October-12, we've tested and validated:

  • OpenSSL 3.6.0
  • Tor 0.4.8.19
  • SiFive HiFive Premier P550 OS: Ubuntu 24.04 with kernel 6.6.77-2-premier

Install

Dependencies:

sudo apt update && sudo apt install -V build-essential perl pkg-config libevent-dev zlib1g-dev wget ca-certificates

The script:

curl -fsSLO https://code.disobey.net/EmeraldOnion/tor-openssl-riscv/raw/branch/main/tor-openssl-riscv-install.sh
chmod +x tor-openssl-riscv-install.sh
sudo ./tor-openssl-riscv-install.sh
  1. The script will ask you for the version of OpenSSL and Tor that you wish to install. Manually check this information based on your needs.
  2. The script will build OpenSSL from source and then build Tor from source. This can take several minutes.
  3. The script will report the OpenSSL and Tor versions now installed and ask if you would like to restart the Tor daemon -- relay identity will remain intact and the same torrc will be used.