Build from source
Build from the source
Before compiling Rio terminal, you'll have to first clone the source code:
git clone https://github.com/raphamorim/rio.git
Then install the Rust compiler with rustup
(rustup.rs).
After installation of Rust, ensure you have the correct Rust compiler installed by running:
rustup override set stable
rustup update stable
Dependencies
These are the minimum dependencies required to build Rio terminal, please note that with some setups additional dependencies might be desired.
If you're running Wayland with an Nvidia GPU and you are planning to use Rio with OpenGL
as primary renderer backend, you'll likely want the EGL drivers installed too (these are called libegl1-mesa-dev
on Ubuntu).
Debian/Ubuntu
If you'd like to build a local version manually, you need a few extra libraries to build Rio. Here's an apt command that should install all of them. If something is still found to be missing, please open an issue. This has been tested on Debian Bookworm.
apt install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
Arch Linux
On Arch Linux, you need a few extra libraries to build Rio. Here's a pacman
command that should install all of them. If something is still found to be missing, please open an issue.
pacman -S cmake freetype2 fontconfig pkg-config make libxcb libxkbcommon python
Fedora
On Fedora, you need a few extra libraries to build Rio. Here's a dnf
command that should install all of them. If something is still found to be missing, please open an issue.
dnf install cmake freetype-devel fontconfig-devel libxcb-devel libxkbcommon-devel g++