How to Uninstall and Install apt-show-versions on Ubuntu 22.04

Updated: October 14, 2022

apt-show-versions parses the dpkg status file and the APT lists for the installed and available package versions and distribution and shows upgrade options within the specific distribution of the selected package. In this guide, I will show you how to install apt-show-versions on Ubuntu 22.04.

Prerequisites

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install apt-show-versions on Ubuntu 22.04

Install apt-show-versions Ubuntu 22.04

apt-show-versions 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 apt-show-versions using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get apt-show-versions on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try 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 update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install apt-show-versions Ubuntu by executing this command in the terminal.

sudo apt-get -y install apt-show-versions

Install apt-show-versions 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. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt install aptitude

Then, you can now install apt-show-versions by following these steps:

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

sudo apt-get update

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

sudo aptitude install apt-show-versions

Uninstall apt-show-versions on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a apt-show-versions, can be easily uninstalled by anyone.

You can uninstall apt-show-versions Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove apt-show-versions

You can also execute this command if you want to uninstall apt-show-versions and remove its data and dependencies:

sudo apt autoremove --purge apt-show-versions

Ending

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