Skip to main content
Jottacloud CLI for Linux - RPM packages

How to install Jottacloud CLI on Redhat/CentOS systems

Updated over 10 months ago

Installation

Save the following to /etc/yum.repos.d/JottaCLI.repo :

[jotta-cli]
name=Jottacloud CLI
baseurl=https://repo.jotta.cloud/redhat
gpgcheck=1
gpgkey=https://repo.jotta.cloud/public.gpg

Install the package jotta-cli :

sudo yum install jotta-cli

We supply init script for running jotta-cli in systemd user slice
After installation (and on upgrade) you can start and restart the CLI-daemon with:

run_jottad

This will also make sure the daemon starts upon user login

To get started:

jotta-cli help

Update gpg key

If the key has expired you can purge the old one and import the new one by running the following:

rpm -q gpg-pubkey --qf "%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n" | grep "Jottacloud" | awk '{ print $1}' | xargs -r rpm -e sudo rpm --import https://repo.jotta.cloud/public.gpg 

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?