How to Uninstall or Install rawdns Ubuntu 22.04

Updated: September 21, 2022

“rawdns” is a DNS forwarder that allows for DNS requests to return the IP addresses of Docker containers directly. In this tutorial, I will show you ways to install rawdns Ubuntu 22.04.

Prerequisites

  • Operating system: rawdns needs Ubuntu 22.04 to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install rawdns on Ubuntu 22.04

Install rawdns Ubuntu 22.04

rawdns is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install rawdns using APT

This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these steps to get rawdns on your Ubuntu 22.04.

Step 1: Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:

sudo apt-get -y update

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

sudo apt -y install rawdns

Install rawdns using Aptitude

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

sudo apt -y install aptitude

After that, you can now install rawdns, just following these steps:

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

sudo apt-get -y update

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

sudo aptitude -y install rawdns

Uninstall rawdns on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a rawdns.

This command can be used to uninstall rawdns from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove rawdns

To uninstall rawdns and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge rawdns

Summary

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