convertkey command not found

In this troubleshooting guide we learn how to fix convertkey command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

convertkey: command not found

or when using sudo you get the following error message

sudo: convertkey: command not found

Solutions to convertkey: command not found

How To Fix convertkey: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu convertkey is provided by python3-potr package.

python3-potr is:

pure-python-otr is a pure Python implementation of the OTR protocol (Off-the-Record encryption, see the OTR website for more information). This gives developers the flexibility to implement OTR encryption for their Python-based Instant Messaging clients. A gajim-otr plugin will be available in the next major Gajim release to provide IM encryption independently of the underlying chat protocol.

This package also includes the command line utility ‘convertkey’ for converting the old OTR file format to the new one.

This is the Python 3 version of the package.

To fix this problem, we can install more using the command below.

sudo apt-get -y install python3-potr

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install python3-potr.

sudo apt -y install python3-potr

Or if you have aptitude installed you can use the following command.

sudo aptitude install python3-potr

Summary

In this tutorial we learn how to fix convertkey command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.