Skip to main content
🎓 Claude Code Masterclass Learn AI-assisted development on Udemy — plus the companion book on Leanpub & Amazon. Start Learning
RISC-V systems running Linux on display at RISC-V Summit Europe 2026
RISC-V

Running Linux on RISC-V: Ubuntu, Fedora & Debian

Yes, you can run a full Linux desktop and server on RISC-V today. A practical guide to Ubuntu, Fedora, and Debian on RISC-V — and how mature each really is.

LB
Luca Berton
· 3 min read

One of the most common questions I get is the simplest: “Can I actually run real Linux on RISC-V?” The answer is an emphatic yes. Ubuntu, Fedora, Debian, and openSUSE all ship official riscv64 ports that boot a complete desktop or server. This guide covers what is available, how mature it is, and how to get started.

RISC-V systems running Linux on display at the Summit

The Short Answer: It’s Real

The RISC-V Linux story is well past “proof of concept.” After the boot chain hands off to the kernel, you get a normal Linux system: a package manager, systemd, a shell, compilers, containers, and — on capable boards — a graphical desktop. The architecture target everyone uses is riscv64, corresponding to the RV64GC baseline (see profiles).

The Major Distributions

Ubuntu

Canonical maintains polished, board-specific Ubuntu images for popular hardware like the StarFive VisionFive 2 and Milk-V boards, plus a generic image. If you want the smoothest “flash an SD card and boot” experience, Ubuntu is usually the easiest entry point.

Debian

Debian’s riscv64 port is officially released and has one of the most complete package archives of any architecture — tens of thousands of packages built for RISC-V. If your priority is “is the software I need packaged?”, Debian is the gold standard. Debian’s porterbox and build infrastructure also do enormous work shaking out software-porting bugs for the whole ecosystem.

Fedora

Fedora targets the leading edge and has long had a RISC-V port, tracking new kernel and toolchain features early. It is a great choice if you want recent packages and are comfortable on the frontier.

openSUSE and Others

openSUSE maintains a RISC-V port as well, and Alpine, Arch (via ports), and Gentoo all have varying degrees of RISC-V support. The breadth alone signals a healthy ecosystem.

Getting Started: Flash and Boot

For a real board, the flow is familiar:

# Write a distro image to an SD card / NVMe (example)
xz -dc ubuntu-riscv64.img.xz | sudo dd of=/dev/sdX bs=4M status=progress
sync

Insert, power on, and the OpenSBI → U-Boot → kernel chain brings you to a login. From there it is ordinary Linux:

uname -m            # riscv64
apt update && apt install build-essential

No Hardware? Use QEMU

You can run a full riscv64 distribution in emulation — perfect for testing software before buying a board (see my QEMU guide):

qemu-system-riscv64 -machine virt -m 4G -smp 4 -nographic \
  -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin \
  -kernel uboot.elf \
  -drive file=ubuntu-riscv64.img,format=raw,if=virtio \
  -netdev user,id=net0 -device virtio-net-device,netdev=net0

How Mature Is It, Really?

Honest assessment, distilled from conversations at RISC-V Summit Europe 2026:

  • Software availability: Excellent. The vast majority of open-source software builds and runs. Most gaps are in proprietary apps and a few packages with hand-written assembly.
  • Kernel and toolchain: Mature and upstream. RISC-V is a first-class Linux architecture.
  • Performance: The real limitation. Current application-class chips trail the latest Arm/x86 cores, so heavy desktop use can feel slow — though datacenter-class silicon is closing the gap fast.
  • Desktop polish: Workable but board-dependent (GPU/display drivers vary).

In short: for servers, development, CI, and learning, RISC-V Linux is genuinely ready today. For a daily-driver desktop, it depends on your patience and your board.

Containers and Cloud-Native

Yes — Docker and Podman run on riscv64, and there are official riscv64 base images for many languages and distros. Multi-arch container builds increasingly include RISC-V, which means cloud-native workflows extend naturally to the architecture.

The Bottom Line

Full Linux on RISC-V is not a future promise — it ships today across Ubuntu, Debian, Fedora, and openSUSE, with mature kernels, toolchains, and huge package archives. Flash an image to a dev board or spin one up in QEMU and you will be at a normal shell in minutes. The only real caveat is performance on today’s hardware — and that is improving with every new chip generation.


Part of my RISC-V series. See also the boot flow and porting software to RISC-V.

Frequently Asked Questions

Can you run a full Linux distribution on RISC-V?

Yes. Ubuntu, Fedora, Debian, and openSUSE all have official RISC-V (riscv64) ports that boot a complete userspace, including desktop environments. The software ecosystem is mature for server and developer use; raw performance on current hardware is the main limitation, not software availability.

Which Linux distribution is best for RISC-V?

Ubuntu has the most polished images for popular boards like the VisionFive 2 and Milk-V, making it the easiest start. Debian has one of the most complete riscv64 package archives. Fedora targets the leading edge. The best choice depends on your board's official image support and your distro preference.

Why is the riscv64 architecture name used?

Linux distributions call the 64-bit RISC-V port 'riscv64', matching the kernel and toolchain triple riscv64-linux-gnu. It corresponds to the RV64GC baseline that application-class RISC-V hardware implements, which is what general-purpose Linux requires.

#RISC-V #Linux #Ubuntu #Fedora #Debian
Share:

📬 Don't miss the next one

Get AI & Cloud insights delivered weekly

Join engineers getting practical tips on AI, Kubernetes, Ansible, and Platform Engineering.

Subscribe Free →
Luca Berton — AI & Cloud Advisor, Docker Captain

Luca Berton

AI & Cloud Advisor · Docker Captain · KubeCon Speaker

18+ years in enterprise infrastructure. Author of 8 technical books, creator of Ansible Pilot (1M+ YouTube views, 648K site users). Former Red Hat engineer. Speaker at KubeCon EU 2026 and Red Hat Summit 2026.

Free 30-min AI & Cloud consultation

Book Now