Skip to main content

Prerequisites

Deputy CLI is dependent on the following tools: wget, gnupg and unzip. Install them with your chosen package manager. For example:

apt install wget gnupg unzip

OVFTool

wget https://github.com/rgl/ovftool-binaries/raw/main/archive/VMware-ovftool-4.4.3-18663434-lin.x86_64.zip unzip VMware-ovftool-4.4.3-18663434-lin.x86_64.zip

Add OCR Repository key

Get the OCR Repository key and add it to your system's keyring:

sudo wget -qO - https://nexus.ocr.cr14.net/repository/ocr-raw-hosted/ubuntu/gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/ocr.gpg

Add OCR Repository to your system's sources:

su -c "echo 'deb [arch=amd64] https://apt.opencyberrange.ee/ocr focal main' >> /etc/apt/sources.list.d/ocr.list"

Remember to update your package lists:

apt update

Deputy CLI Installation and Configuration

Install the Deputy CLI:

sudo apt install deputy

Create a configuration file:

mkdir ~/.deputy

And Add Digital Library Package Server registries to it:

nano ~/.deputy/configuration.toml

[registries]
main-registry = { api = "https://your_deputy_subdomain" }

[package]
download_path = "~/.deputy/downloads/" # Path for temporary files during package fetching