How To Install nss-passwords on Ubuntu 18.04
Introduction
In this tutorial we learn how to install nss-passwords
on Ubuntu 18.04.
What is nss-passwords
nss-passwords is:
This program reads passwords from keyrings used by Mozilla products, such as Firefox and Thunderbird. It can run entirely in text mode.
This program works with SQLite-based keyrings (signons.sqlite), used in recent versions of Firefox. Text-based keyrings can be read with pwdecrypt, from libnss3-tools package.
There are three methods to install nss-passwords
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 nss-passwords Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install nss-passwords
using apt-get
by running the following command:
sudo apt-get -y install nss-passwords
Install nss-passwords Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install nss-passwords
using apt
by running the following command:
sudo apt -y install nss-passwords
Install nss-passwords 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 nss-passwords
using aptitude
by running the following command:
sudo aptitude -y install nss-passwords
How To Uninstall nss-passwords on Ubuntu 18.04
To uninstall only the nss-passwords
package we can use the following command:
sudo apt-get remove nss-passwords
Uninstall nss-passwords And Its Dependencies
To uninstall nss-passwords
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove nss-passwords
Remove nss-passwords Configurations and Data
To remove nss-passwords
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge nss-passwords
Remove nss-passwords configuration, data, and all of its dependencies
We can use the following command to remove nss-passwords
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge nss-passwords
References
Summary
In this tutorial we learn how to install nss-passwords
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.