How to Install or Uninstall procps Ubuntu 22.04

Updated: September 7, 2022

This package provides command line and full screen utilities for browsing procfs, a “pseudo” file system dynamically generated by the kernel to provide information about the status of entries in its process table (such as whether the process is running, stopped, or a “zombie”). In this tutorial, I will show you how to install procps on Ubuntu 22.04.

Prerequisites

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

Prerequisites to install procps on Ubuntu 22.04

Install procps Ubuntu 22.04

procps 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 procps 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 steps to install procps on your Ubuntu.

Step 1: Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:

sudo apt update

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

sudo apt -y install procps

Install procps 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. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt -y install aptitude

After installing aptitude, you can now install procps by following these steps:

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

sudo apt-get -y update

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

sudo aptitude -y install procps

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

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

sudo apt remove --auto-remove procps

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

sudo apt autoremove --purge procps

Summary

In this tutorial, I showed you ways to install procps on Ubuntu 22.04 and ways to uninstall procps too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.