How To Install sks-ecc on Ubuntu 18.04
Introduction
In this tutorial we learn how to install sks-ecc
on Ubuntu 18.04.
What is sks-ecc
sks-ecc is:
SKS is a public-key, command-line application for encryption/authentication, based on Elliptic Curve Cryptography (ECC). His minimalist design points to a simple, light, fast, easy-to-use and multiplatform software. All these features are satisfied with this high quality cryptography kit that has the following elements:
- Public key module: elliptic curve over GF (2^191).
- Symmetric-key module: AES 192-bits key, with CTR mode.
- Hash (for signatures, HMAC and passwords): TIGER (192 bits).
- PRNG module.
There are three methods to install sks-ecc
on Ubuntu 18.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 sks-ecc Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install sks-ecc
using apt-get
by running the following command:
sudo apt-get -y install sks-ecc
Install sks-ecc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install sks-ecc
using apt
by running the following command:
sudo apt -y install sks-ecc
Install sks-ecc 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 sks-ecc
using aptitude
by running the following command:
sudo aptitude -y install sks-ecc
How To Uninstall sks-ecc on Ubuntu 18.04
To uninstall only the sks-ecc
package we can use the following command:
sudo apt-get remove sks-ecc
Uninstall sks-ecc And Its Dependencies
To uninstall sks-ecc
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove sks-ecc
Remove sks-ecc Configurations and Data
To remove sks-ecc
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge sks-ecc
Remove sks-ecc configuration, data, and all of its dependencies
We can use the following command to remove sks-ecc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sks-ecc
References
Summary
In this tutorial we learn how to install sks-ecc
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.