Ways to Uninstall and Install dnss on Ubuntu 22.04

Updated: September 18, 2022

dnss is a daemon for using DNS over HTTPS. In this guide, I will show you ways to install dnss Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 is needed for dnss to work
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install dnss on Ubuntu 22.04

Install dnss Ubuntu 22.04

dnss 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 dnss using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these instructions to install dnss on your Ubuntu.

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt update

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

sudo apt-get install dnss

Install dnss using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt-get -y install aptitude

Then, you can now install dnss, just following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install dnss Ubuntu by executing this command in the terminal.

sudo aptitude install dnss

Uninstall dnss 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 dnss.

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

sudo apt remove --auto-remove dnss

You can also execute this command if you want to uninstall dnss and remove its data and dependencies:

sudo apt autoremove --purge dnss

Summary

In this guide, I showed you ways to install dnss on Ubuntu 22.04 and ways to uninstall dnss too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.