Ways to Uninstall and Install icnsutils on Ubuntu 22.04

Updated: August 28, 2022

icnsutils includes icns2png and png2icns, two utilies used to extract PNG images from icns files, and create icns files from PNG images. In this guide, I will show you how to install icnsutils on Ubuntu 22.04.

Prerequisites

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install icnsutils on Ubuntu 22.04

Install icnsutils Ubuntu 22.04

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

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these instructions to get icnsutils on your Ubuntu 22.04.

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

sudo apt update

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

sudo apt -y install icnsutils

Install icnsutils using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt install aptitude

Then, you can now install icnsutils by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

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

sudo aptitude install icnsutils

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

If you installed icnsutils using APT or Aptitude, you could uninstall icnsutils on Ubuntu by following this step:

sudo apt remove --auto-remove icnsutils

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

sudo apt autoremove --purge icnsutils

Conclusion

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