How to Uninstall or Install nicstat on Ubuntu 22.04

Updated: September 20, 2022

nicstat is to network interfaces as iostat is to disks, or prstat is to processes. It is designed as a much better version of “netstat -i”. Its differences include: I will show you how to install nicstat on Ubuntu 22.04 in this guide.

Requirements to install

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install nicstat on Ubuntu 22.04

Install nicstat Ubuntu 22.04

nicstat 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 nicstat 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 install nicstat on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. 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 nicstat Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get -y install nicstat

Install nicstat using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt -y install aptitude

After that, you can now install nicstat, 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 fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt update

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

sudo aptitude -y install nicstat

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

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

sudo apt remove --auto-remove nicstat

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

sudo apt autoremove --purge nicstat

Summary

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