How To Install golang-github-cloudflare-sidh-dev on Ubuntu 22.04
Introduction
In this tutorial we learn how to install golang-github-cloudflare-sidh-dev
on Ubuntu 22.04.
What is golang-github-cloudflare-sidh-dev
golang-github-cloudflare-sidh-dev is:
Go implementation of (ephemeral) supersingular isogeny Diffie-Hellman (SIDH) and supersingular isogeny key exchange (SIKE), as specified in SIDH-spec, PQC NIST Submission (http://sike.org/files/SIDH-spec.pdf) (Nov 30, 2017).
Portions of the field arithmetic were ported from the Microsoft Research implementation.
The SIDH package does NOT implement key validation. It means that it should only be used for ephemeral DH. Each keypair should be used at most once.
Project provides following packages:
- p503: P503 field arithmetic
- p751: P751 field arithmetic
- sidh: Implementation of SIDH key agreement
- sike: Implementation of SIKE PKE and KEM, based on sidh package
There are three methods to install golang-github-cloudflare-sidh-dev
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 golang-github-cloudflare-sidh-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install golang-github-cloudflare-sidh-dev
using apt-get
by running the following command:
sudo apt-get -y install golang-github-cloudflare-sidh-dev
Install golang-github-cloudflare-sidh-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install golang-github-cloudflare-sidh-dev
using apt
by running the following command:
sudo apt -y install golang-github-cloudflare-sidh-dev
Install golang-github-cloudflare-sidh-dev 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 golang-github-cloudflare-sidh-dev
using aptitude
by running the following command:
sudo aptitude -y install golang-github-cloudflare-sidh-dev
How To Uninstall golang-github-cloudflare-sidh-dev on Ubuntu 22.04
To uninstall only the golang-github-cloudflare-sidh-dev
package we can use the following command:
sudo apt-get remove golang-github-cloudflare-sidh-dev
Uninstall golang-github-cloudflare-sidh-dev And Its Dependencies
To uninstall golang-github-cloudflare-sidh-dev
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove golang-github-cloudflare-sidh-dev
Remove golang-github-cloudflare-sidh-dev Configurations and Data
To remove golang-github-cloudflare-sidh-dev
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge golang-github-cloudflare-sidh-dev
Remove golang-github-cloudflare-sidh-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-cloudflare-sidh-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-cloudflare-sidh-dev
References
Summary
In this tutorial we learn how to install golang-github-cloudflare-sidh-dev
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.