How To Install libnsspem on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libnsspem on Ubuntu 18.04.
What is libnsspem
libnsspem is:
This package provides a PEM file reader for Network Security Services (NSS), implemented as a PKCS#11 module.
There are three methods to install libnsspem 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 libnsspem Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libnsspem using apt-get by running the following command:
sudo apt-get -y install libnsspem
Install libnsspem Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libnsspem using apt by running the following command:
sudo apt -y install libnsspem
Install libnsspem 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 libnsspem using aptitude by running the following command:
sudo aptitude -y install libnsspem
How To Uninstall libnsspem on Ubuntu 18.04
To uninstall only the libnsspem package we can use the following command:
sudo apt-get remove libnsspem
Uninstall libnsspem And Its Dependencies
To uninstall libnsspem and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libnsspem
Remove libnsspem Configurations and Data
To remove libnsspem configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libnsspem
Remove libnsspem configuration, data, and all of its dependencies
We can use the following command to remove libnsspem configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libnsspem
References
Summary
In this tutorial we learn how to install libnsspem package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.