Installation
rudof is a single binary, rudof. You can install it from a release, a package manager, Cargo, Nix or Docker. To use rudof from code instead, see Using rudof from code.
Release binaries
Each GitHub release has binaries for Linux, Windows and macOS. In the commands below, replace X.Y.Z with the release version, for example 0.3.42.
| Platform | File |
|---|---|
| Linux (x86_64) | rudof_X.Y.Z_x86_64_linux_gnu |
| Windows (x86_64) | rudof_X.Y.Z_x86_64_windows_msvc.exe |
| macOS (Intel) | rudof_X.Y.Z_x86_64_apple |
| macOS (Apple silicon) | rudof_X.Y.Z_aarch64_apple |
Linux
curl -L -o rudof https://github.com/rudof-project/rudof/releases/download/X.Y.Z/rudof_X.Y.Z_x86_64_linux_gnu
chmod +x rudof
Move the file to a folder on your PATH, for example ~/.local/bin.
Windows
In PowerShell or the command prompt (Windows 10 or later):
curl -L -o rudof.exe https://github.com/rudof-project/rudof/releases/download/X.Y.Z/rudof_X.Y.Z_x86_64_windows_msvc.exe
Move rudof.exe to a folder on your PATH.
macOS
Replace <arch> with aarch64 for Apple silicon, or x86_64 for Intel:
curl -L -o rudof https://github.com/rudof-project/rudof/releases/download/X.Y.Z/rudof_X.Y.Z_<arch>_apple
chmod +x rudof
The binary is not signed. The first time you run it, macOS can block it. To allow it, open System Settings, Privacy & Security, and select Open Anyway.
Package managers
Debian and Ubuntu
rudof is in Debian. Each release also has a .deb package:
curl -L -o rudof.deb https://github.com/rudof-project/rudof/releases/download/X.Y.Z/rudof_X.Y.Z_amd64.deb
sudo dpkg -i rudof.deb
Fedora, RHEL and other RPM distributions
curl -L -o rudof.rpm https://github.com/rudof-project/rudof/releases/download/X.Y.Z/rudof_X.Y.Z_x86_64.rpm
sudo rpm -i rudof.rpm
Nix
nix run github:rudof-project/rudof#rudof -- --help
The Nix page describes the flake, the profile installation, and the NixOS and home-manager modules.
Cargo
If you have a Rust toolchain, install rudof from crates.io:
cargo install rudof_cli
This installs the rudof binary and the rudof-completions binary. Optional features add more backends, for example cargo install rudof_cli --features qlever for the QLever backend.
Docker
Each release publishes a Docker image to the GitHub Container Registry and Docker Hub. The image runs rudof, so the arguments of docker run go to rudof:
docker run --rm ghcr.io/rudof-project/rudof:latest --version
To give rudof access to local files, mount the current folder:
docker run --rm -v "$PWD":/data -w /data ghcr.io/rudof-project/rudof:latest \
validate user.ttl --schema user.shex --shapemap user.sm
The same image is on Docker Hub as angelip2303/rudof.
Build from source
You need a recent stable Rust toolchain.
git clone https://github.com/rudof-project/rudof.git
cd rudof
cargo build --release
The binary is target/release/rudof.
If the native build fails on Windows, build inside WSL (Windows Subsystem for Linux).
To make your own Debian package, use cargo-deb:
cargo install cargo-deb
cargo deb
sudo dpkg -i target/debian/*.deb
Make sure that rudof works
rudof --version
Then continue with the quick start.