Ubuntu Tutorial

How To Install golang-filippo-edwards25519-dev on Ubuntu

Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes  • 453 words

Introduction

In this tutorial we learn how to install golang-filippo-edwards25519-dev on Ubuntu.

What is golang-filippo-edwards25519-dev

golang-filippo-edwards25519-dev is:

This library implements the edwards25519 elliptic curve, exposing the necessary APIs to build a wide array of higher-level primitives. Read the docs at pkg.go.dev/filippo.io/edwards25519 (https://pkg.go.dev/filippo.io/edwards25519).

The code is originally derived from Adam Langley’s internal implementation in the Go standard library, and includes George Tankersley’s performance improvements (https://golang.org/cl/71950). It was then further developed by Henry de Valence for use in ristretto255.

Most users don’t need this package, and should instead use crypto/ed25519 for signatures, golang.org/x/crypto/curve25519 for Diffie-Hellman, or github.com/gtank/ristretto255 for prime order group logic. However, for anyone currently using a fork of crypto/ed25519/internal/edwards25519 or github.com/agl/edwards25519, this package should be a safer, faster, and more powerful alternative.

Since this package is meant to curb proliferation of edwards25519 implementations in the Go ecosystem, it welcomes requests for new APIs or reviewable performance improvements.

There are three methods to install golang-filippo-edwards25519-dev on Ubuntu. 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-filippo-edwards25519-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-filippo-edwards25519-dev using apt-get by running the following command:

sudo apt-get -y install golang-filippo-edwards25519-dev

Install golang-filippo-edwards25519-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-filippo-edwards25519-dev using apt by running the following command:

sudo apt -y install golang-filippo-edwards25519-dev

Install golang-filippo-edwards25519-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-filippo-edwards25519-dev using aptitude by running the following command:

sudo aptitude -y install golang-filippo-edwards25519-dev

How To Uninstall golang-filippo-edwards25519-dev on Ubuntu

To uninstall only the golang-filippo-edwards25519-dev package we can use the following command:

sudo apt-get remove golang-filippo-edwards25519-dev

Uninstall golang-filippo-edwards25519-dev And Its Dependencies

To uninstall golang-filippo-edwards25519-dev and its dependencies that are no longer needed by Ubuntu, we can use the command below:

sudo apt-get -y autoremove golang-filippo-edwards25519-dev

Remove golang-filippo-edwards25519-dev Configurations and Data

To remove golang-filippo-edwards25519-dev configuration and data from Ubuntu we can use the following command:

sudo apt-get -y purge golang-filippo-edwards25519-dev

Remove golang-filippo-edwards25519-dev configuration, data, and all of its dependencies

We can use the following command to remove golang-filippo-edwards25519-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge golang-filippo-edwards25519-dev

Dependencies

golang-filippo-edwards25519-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install golang-filippo-edwards25519-dev package on Ubuntu using different package management tools: apt, apt-get and aptitude.

Follow us

We provides various tutorials about Ubuntu