How to Install and Uninstall libcdk-perl on Ubuntu 22.04

Updated: October 22, 2022

CDK stands for “Curses Development Kit”. CDK sits on top of the curses library and provides 22 ready to use widgets for rapid application development of text-based interfaces. CDK delivers many of the common widget types required for a robust interface. Widgets can be combined to create complex widgets if needed. I will show you how to install libcdk-perl on Ubuntu 22.04 in this tutorial.

Requirements to install

  • Operating system: Ubuntu 22.04 is needed for libcdk-perl to work
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install libcdk-perl on Ubuntu 22.04

Install libcdk-perl Ubuntu 22.04

libcdk-perl 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 libcdk-perl 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 steps to install libcdk-perl on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. 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 libcdk-perl Ubuntu by executing this command in the terminal.

sudo apt -y install libcdk-perl

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

Then, you can now install libcdk-perl, just following these steps:

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 update

Step 2: Install the package on Ubuntu 22.04. You can now install libcdk-perl Ubuntu by executing this command in the terminal.

sudo aptitude -y install libcdk-perl

Uninstall libcdk-perl 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.

You can uninstall libcdk-perl Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove libcdk-perl

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

sudo apt autoremove --purge libcdk-perl

Conclusion

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