- rkv requires the most recent stable Rust compiler; it can be installed with
rustup
.
-
Install
rustup.rs
. -
Clone the source code:
git clone https://github.com/Incubaid/rkv-rs.git cd rkv-rs
-
Make sure you have the right Rust compiler installed. Run
rustup override set stable rustup update stable
On Ubuntu, you need a few extra libraries to build rkv. Here's an apt
command that should install all of them. If something is still found to be
missing, please open an issue.
sudo apt-get install pkg-config libssl-dev
On Arch Linux, you need a few extra libraries to build rkv. Here's a
pacman
command that should install all of them. If something is still found
to be missing, please open an issue.
sudo pacman -S openssl
On Fedora, you need a few extra libraries to build rkv. Here's a dnf
command that should install all of them. If something is still found to be
missing, please open an issue.
sudo dnf install openssl-devel
Once all the prerequisites are installed, compiling rkv should be easy:
cargo build --release
If all goes well, this should place a binary at target/release/rkv
.
Note: On linux the resulting binary would be large due to debug symbols
, use strip target/release/rkv
to remove them.