Installation
This guide will walk you through the steps to install Dozer.
Ubuntu (20.04 and above)
Installing Prerequisites
Ubuntu 20.04 ships with protobuf-compiler v3.6.1.3, which isn't compatible with Dozer. Upgrade to a newer version using:
curl -sLO https://github.com/protocolbuffers/protobuf/releases/download/v22.2/protoc-22.2-linux-x86_64.zip
unzip protoc-22.2-linux-x86_64.zip -d $HOME/.local
export PATH="$PATH:$HOME/.local/bin"
You also need to install few other packages in Ubuntu.
sudo apt install openssl libssl-dev clang zlib1g-dev g++ cmake
Installing Dozer
Building from Source
note
Ensure Rust, Protocol Buffers, OpenSSL, git and other pre-requisites are set up on your system.
Steps for installation
- Clone Dozer from the GitHub repository recursively to include the submodules.
git clone --recurse-submodules https://github.com/getdozer/dozer
cd dozer
- Use cargo to build/install Dozer.
cargo install --path dozer-cli --locked
tip
You can test the succesful installation of Dozer with the command dozer -V