notary-server command not found

In this troubleshooting guide we learn how to fix notary-server command not found error message

Introduction

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

notary-server: command not found

or when using sudo you get the following error message

sudo: notary-server: command not found

Solutions to notary-server: command not found

How To Fix notary-server: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu notary-server is provided by notary package.

notary is:

Notary is a project that allows anyone to have trust over arbitrary collections of data.

The Notary project comprises a server (cmd/notary-server) and a client (cmd/notary) for running and interacting with trusted collections.

Notary aims to make the internet more secure by making it easy for people to publish and verify content. We often rely on TLS to secure our communications with a web server which is inherently flawed, as any compromise of the server enables malicious content to be substituted for the legitimate content.

With Notary, publishers can sign their content offline using keys kept highly secure. Once the publisher is ready to make the content available, they can push their signed trusted collection to a Notary Server.

Consumers, having acquired the publisher’s public key through a secure channel, can then communicate with any notary server or (insecure) mirror, relying only on the publisher’s key to determine the validity and integrity of the received content.

This package contains the binaries/tools.

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

sudo apt-get -y install notary

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

You can also use apt command to install notary.

sudo apt -y install notary

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

sudo aptitude install notary

Summary

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