Ways to Install and Uninstall unzip Ubuntu 22.04

Updated: October 7, 2022

InfoZIP’s unzip program. With the exception of multi-volume archives (ie, .ZIP files that are split across several disks using PKZIP’s /& option), this can handle any file produced either by PKZIP, or the corresponding InfoZIP zip program. I will show you how to install unzip on Ubuntu 22.04 in this tutorial.

Software Requirement

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

Prerequisites to install unzip on Ubuntu 22.04

Install unzip Ubuntu 22.04

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

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-get -y update

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

sudo apt-get -y install unzip

Install unzip 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-get -y install aptitude

After installing, you can now install unzip, just following these steps:

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

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install unzip Ubuntu by executing this command in the terminal.

sudo aptitude -y install unzip

Uninstall unzip on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just unzip.

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

sudo apt remove --auto-remove unzip

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

sudo apt autoremove --purge unzip

Ending

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