How To Install notary on Ubuntu 22.04
Introduction
In this tutorial we learn how to install notary
on Ubuntu 22.04.
What is notary
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.
There are three methods to install notary
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install notary Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install notary
using apt-get
by running the following command:
sudo apt-get -y install notary
Install notary Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install notary
using apt
by running the following command:
sudo apt -y install notary
Install notary Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install notary
using aptitude
by running the following command:
sudo aptitude -y install notary
How To Uninstall notary on Ubuntu 22.04
To uninstall only the notary
package we can use the following command:
sudo apt-get remove notary
Uninstall notary And Its Dependencies
To uninstall notary
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove notary
Remove notary Configurations and Data
To remove notary
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge notary
Remove notary configuration, data, and all of its dependencies
We can use the following command to remove notary
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge notary
References
Summary
In this tutorial we learn how to install notary
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.