fernet-sign command not found

In this troubleshooting guide we learn how to fix fernet-sign command not found error message

Introduction

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

fernet-sign: command not found

or when using sudo you get the following error message

sudo: fernet-sign: command not found

Solutions to fernet-sign: command not found

How To Fix fernet-sign: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fernet-sign is provided by fernet-go package.

fernet-go is:

This library takes a user-provided message (an arbitrary sequence of bytes), a key (256 bits), and the current time, and produces a token, which contains the message in a form that can’t be read or altered without the key.

This package is compatible with the other implementations at https://github.com/fernet. They can exchange tokens freely among each other.

This package contains files that is tool using golang-github-fernet-fernet-go-dev.

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

sudo apt-get -y install fernet-go

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

You can also use apt command to install fernet-go.

sudo apt -y install fernet-go

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

sudo aptitude install fernet-go

Summary

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