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
ℹ️ Note: It is also possible to use exported OVA files directly from tools like VirtualBox or VMware Workstation.
Add NCR Repository key
Get the NCR Repository key and add it to your system's keyring:
sudo wget -qO - https://repository.ncr.ntnu.no/repository/ncr-raw-hosted/hosted/gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/ncr.gpg
Add NCR Repository to your system's sources:
su -c "echo 'deb [arch=amd64] https://repository.ncr.ntnu.no/repository/ncr-apt-hosted/ noble main' >> /etc/apt/sources.list.d/ncr.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