Ways to Install or Uninstall pngtools on Ubuntu 22.04

Updated: August 28, 2022

pngtools is a suite of utilities to work with PNG (Portable Network Graphics) files, equivalents to libtiff’s tiffinfo, and tiffcp commands. These commands are called pnginfo, pngcp. tiffdump is replaced by pngchunks and pngchunkdesc as well. In this tutorial, I will show you how to install pngtools on Ubuntu 22.04.

Software Requirement

  • Operating system: Ubuntu 22.04 is needed for pngtools to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install pngtools on Ubuntu 22.04

Install pngtools Ubuntu 22.04

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

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install pngtools on your Ubuntu 22.04.

Step 1: Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install pngtools Ubuntu by executing this command in the terminal.

sudo apt-get install pngtools

Install pngtools using Aptitude

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

sudo apt-get -y install aptitude

After that, you can now install pngtools, just following these steps:

Step 1: Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

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

sudo aptitude -y install pngtools

Uninstall pngtools 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 pngtools from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove pngtools

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

sudo apt autoremove --purge pngtools

Summary

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