Ways to Uninstall and Install sensible-mda Ubuntu 22.04

Updated: September 10, 2022

Sensible-mda is a Debian addition in the sendmail package and has been split out in hopes that it might be useful for other MTA packages. In this tutorial, I will show you how to install sensible-mda on Ubuntu 22.04.

Requirements to install

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

Prerequisites to install sensible-mda on Ubuntu 22.04

Install sensible-mda Ubuntu 22.04

sensible-mda 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 that you think is easy and you can follow.

Install sensible-mda using APT

This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these steps to get sensible-mda on your Ubuntu 22.04.

Step 1: Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install sensible-mda Ubuntu by pasting this command into the terminal and executing it.

sudo apt install sensible-mda

Install sensible-mda using Aptitude

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

sudo apt -y install aptitude

Then, you can now install sensible-mda, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can now install sensible-mda Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install sensible-mda

Uninstall sensible-mda 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 sensible-mda.

If you installed sensible-mda using APT or Aptitude, you could uninstall sensible-mda on Ubuntu by following this step:

sudo apt remove --auto-remove sensible-mda

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

sudo apt autoremove --purge sensible-mda

Conclusion

In this tutorial, I showed you ways to install sensible-mda on Ubuntu 22.04 and some ways to uninstall sensible-mda too. Please contact me if you require any assistance. I’d be delighted to respond.