How to Uninstall and Install profanity Ubuntu 22.04

Updated: September 21, 2022

Profanity is a console based instant messaging client for XMPP (Jabber) protocol based chat. It is inspired by popular IRC client IRSSI. I will show you how to install profanity on Ubuntu 22.04 in this guide.

Software Requirement

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Check that you can run sudo commands.

Prerequisites to install profanity on Ubuntu 22.04

Install profanity Ubuntu 22.04

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

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get profanity on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install profanity Ubuntu by executing this command in the terminal.

sudo apt-get -y install profanity

Install profanity using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

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

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

sudo apt -y update

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

sudo aptitude install profanity

Uninstall profanity on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

If you installed profanity using APT or Aptitude, you could uninstall profanity on Ubuntu by running this command

sudo apt remove --auto-remove profanity

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

sudo apt autoremove --purge profanity

Summary

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