How to Install or Uninstall pkgdiff Ubuntu 22.04

Updated: September 16, 2022

Package changes analyzer is a tool for visualizing changes in Linux software packages (RPM, DEB, TAR.GZ, etc). In this tutorial, I will show you how to install pkgdiff on Ubuntu 22.04.


  • OS: Ubuntu 22.04 is needed for pkgdiff to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install pkgdiff on Ubuntu 22.04

Install pkgdiff Ubuntu 22.04

pkgdiff 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 you believe is simple and easy to follow.

Install pkgdiff 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 pkgdiff 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-get update

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

sudo apt-get install pkgdiff

Install pkgdiff 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

Then, you can now install pkgdiff, 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 download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. You can now install pkgdiff Ubuntu by executing this command in the terminal.

sudo aptitude install pkgdiff

Uninstall pkgdiff on Ubuntu 22.04

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

This command can be used to uninstall pkgdiff from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove pkgdiff

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

sudo apt autoremove --purge pkgdiff


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