How to Uninstall or Install pktstat Ubuntu 22.04

Updated: September 21, 2022

pktstat displays a real-time list of active connections seen on a network interface, and how much bandwidth is being used by what. I will show you how to install pktstat on Ubuntu 22.04 in this tutorial.

Requirements

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install pktstat on Ubuntu 22.04

Install pktstat Ubuntu 22.04

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

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these instructions to get pktstat 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 fetch 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, you can install pktstat Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt -y install pktstat

Install pktstat using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt-get install aptitude

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

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. Launching the terminal and entering the following Linux command:

sudo apt update

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

sudo aptitude -y install pktstat

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

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

sudo apt remove --auto-remove pktstat

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

sudo apt autoremove --purge pktstat

Summary

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