Skip to main content
Jottacloud CLI for Linux - Debian Packages

How to install Jottacloud CLI on Debian/Ubuntu systems

Updated over 9 months ago

Debian/Ubuntu and derivatives


Installation

Dependencies:

apt-get install curl apt-transport-https ca-certificates

First obtain the repository key:

sudo curl -fsSL https://repo.jotta.cloud/public.asc -o /usr/share/keyrings/jotta.gpg

Save the repo information to apt sources :

echo "deb [signed-by=/usr/share/keyrings/jotta.gpg] https://repo.jotta.cloud/debian debian main" | sudo tee /etc/apt/sources.list.d/jotta-cli.list

Run sudo apt-get update  

Install the package jotta-cli :

sudo apt-get install jotta-cli

The package supplies init script for running jotta-cli in systemd user slice

For each user in the system that should run jotta-cli, enable it with:

run_jottad

The daemon should now be started with user login.

To get started:

jotta-cli help

Update gpg key

If Debian/Ubuntu throws a warning that the Jotta Packaging Team key is expired, run this to update to current key:

sudo curl -fsSL https://repo.jotta.cloud/public.asc -o /usr/share/keyrings/jotta.gpg 
echo "deb [signed-by=/usr/share/keyrings/jotta.gpg] https://repo.jotta.cloud/debian debian main" | sudo tee /etc/apt/sources.list.d/jotta-cli.list

Starting at boot

As jottad is now running in a user slice it will not start at boottime unless you also create a usersession at boot time.

You can use loginctl enable-linger USERNAME to start a usersession for USERNAME at boottime and jottad will start in that session.

Did this answer your question?