How to Uninstall and Install nss-tlsd on Ubuntu 22.04

Updated: September 21, 2022

nss-tls is an alternative, encrypted name resolving library to use with glibc, which uses DNS-over-HTTPS (DoH). In this tutorial, I will show you ways to install nss-tlsd Ubuntu 22.04.

Software Requirement

  • Operating system: nss-tlsd needs Ubuntu 22.04 to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install nss-tlsd on Ubuntu 22.04

Install nss-tlsd Ubuntu 22.04

nss-tlsd is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install nss-tlsd using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get nss-tlsd on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install nss-tlsd Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get install nss-tlsd

Install nss-tlsd using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt install aptitude

After that, you can now install nss-tlsd, just following these steps:

Step 1: Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. You can now install nss-tlsd Ubuntu by executing this command in the terminal.

sudo aptitude install nss-tlsd

Uninstall nss-tlsd on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just nss-tlsd.

You can uninstall nss-tlsd Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove nss-tlsd

If you want to uninstall nss-tlsd and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge nss-tlsd

Summary

In this guide, I showed you ways to install nss-tlsd on Ubuntu 22.04 and some ways to uninstall nss-tlsd too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.