How to Install and Uninstall psad Ubuntu 22.04

Updated: September 7, 2022

PSAD is a collection of four lightweight system daemons (in Perl and C) designed to work with iptables to detect port scans. It features: I will show you how to install psad on Ubuntu 22.04 in this guide.


  • OS: psad needs Ubuntu 22.04 to work
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install psad on Ubuntu 22.04

Install psad Ubuntu 22.04

psad is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install psad 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 steps to install psad on your Ubuntu 22.04.

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 this Linux command:

sudo apt-get -y update

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

sudo apt -y install psad

Install psad using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt install aptitude

Then, you can now install psad by 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. Launching the terminal and entering the following Linux command:

sudo apt -y update

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

sudo aptitude install psad

Uninstall psad 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 psad using APT or Aptitude, you could uninstall psad on Ubuntu by following this step:

sudo apt remove --auto-remove psad

If you want to uninstall psad and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge psad


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