How to Install or Uninstall cli-common-dev on Ubuntu 22.04

Updated: October 14, 2022

This package must be installed if a CLI (Common Language Infrastructure) packaging environment is desired. I will show you how to install cli-common-dev on Ubuntu 22.04 in this tutorial.

Software Requirement

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install cli-common-dev on Ubuntu 22.04

Install cli-common-dev Ubuntu 22.04

cli-common-dev is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install cli-common-dev 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 install cli-common-dev on your Ubuntu.

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 installing the packages on Ubuntu 22.04. You can now install cli-common-dev Ubuntu by executing this command in the terminal.

sudo apt install cli-common-dev

Install cli-common-dev 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 -y install aptitude

After that, you can now install cli-common-dev, just following these steps:

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

sudo apt -y update

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

sudo aptitude -y install cli-common-dev

Uninstall cli-common-dev 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-dev.

If you installed cli-common-dev using APT or Aptitude, you could uninstall cli-common-dev on Ubuntu by following this step:

sudo apt remove --auto-remove cli-common-dev

If you want to uninstall cli-common-dev and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge cli-common-dev

Conclusion

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