How To Install jose on Ubuntu 18.04
Introduction
In this tutorial we learn how to install jose
on Ubuntu 18.04.
What is jose
jose is:
José is a C-language implementation of the Javascript Object Signing and Encryption standards. Specifically, José aims towards implementing the following standards:
RFC 7515 - JSON Web Signature (JWS) RFC 7516 - JSON Web Encryption (JWE) RFC 7517 - JSON Web Key (JWK) RFC 7518 - JSON Web Algorithms (JWA) RFC 7519 - JSON Web Token (JWT) RFC 7520 - Examples of … JOSE RFC 7638 - JSON Web Key (JWK) Thumbprint
There are three methods to install jose
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 jose Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install jose
using apt-get
by running the following command:
sudo apt-get -y install jose
Install jose Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install jose
using apt
by running the following command:
sudo apt -y install jose
Install jose 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 jose
using aptitude
by running the following command:
sudo aptitude -y install jose
How To Uninstall jose on Ubuntu 18.04
To uninstall only the jose
package we can use the following command:
sudo apt-get remove jose
Uninstall jose And Its Dependencies
To uninstall jose
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove jose
Remove jose Configurations and Data
To remove jose
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge jose
Remove jose configuration, data, and all of its dependencies
We can use the following command to remove jose
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge jose
References
Summary
In this tutorial we learn how to install jose
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.