How to Uninstall and Install cli-common Ubuntu 22.04

Updated: October 14, 2022

This package must be installed if a CLI (Common Language Infrastructure) runtime environment is desired. In this guide, I will show you ways to install cli-common Ubuntu 22.04.

Software Requirement

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install cli-common on Ubuntu 22.04

Install cli-common Ubuntu 22.04

cli-common 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 cli-common using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get cli-common 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 fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

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

sudo apt-get install cli-common

Install cli-common using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

After installing, you can now install cli-common by following these steps:

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. Opening the terminal and executing the following Linux command:

sudo apt-get -y update

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

sudo aptitude install cli-common

Uninstall cli-common on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a cli-common.

If you installed cli-common using APT or Aptitude, you could uninstall cli-common on Ubuntu by executing this command

sudo apt remove --auto-remove cli-common

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

sudo apt autoremove --purge cli-common

Ending

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