Install guide
Currently, the only supported and recommended way to install raptor is by compiling from source. Pre-built binary packages might be available in the future.
New user?
- Complete Install prerequisites
- Complete Install Raptor from git
- Enjoy Raptor 🦅
Install prerequisites
-
Install necessary packages:
sudo apt-get update sudo apt-get install -y git musl-tools -
Install Rust 1.90 or greater:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -
Install
musltarget for rust:rustup target add x86_64-unknown-linux-musl
Now you are ready to install Raptor.
Install Raptor from git [stable]
-
Install
raptorandfalconfrom git:cargo install \ --target "x86_64-unknown-linux-musl" \ --git "https://github.com/chrivers/raptor" \ raptor falcon
The argument --target "x86_64-unknown-linux-musl" is very important!
Without it, Raptor will compile, but Falcon (the sandbox client used for building containers) will not be statically compiled. Since it is running inside sandboxed environments, where glibc is not always available in the correct version (or at all), you will get confusing errors when trying to build Raptor targets.
Consequence: without --target "x86_64-unknown-linux-musl", the cargo install
command will compile and install, but the installation will be broken.
Install Raptor from git [development branch]
This procedure is intended for developers, beta testers, and anyone else who
want to try a specific branch build of Raptor. To test a branch named
hypothetical:
-
Install
raptorandfalconfrom git:cargo install \ --target "x86_64-unknown-linux-musl" \ --git "https://github.com/chrivers/raptor" \ --branch "hypothetical" \ raptor falcon