How to Uninstall and Install cln-dev Ubuntu 22.04

Updated: October 30, 2022

This is a virtual package. See the Debian policy for a definition of virtual packages. I will show you how to install cln-dev on Ubuntu 22.04 in this guide.

Requirements

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

Prerequisites to install cln-dev on Ubuntu 22.04

Install cln-dev Ubuntu 22.04

cln-dev 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 cln-dev using APT

This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these steps to install cln-dev on your Ubuntu.

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 cln-dev Ubuntu by executing this command in the terminal.

sudo apt install cln-dev

Install cln-dev using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt-get -y install aptitude

After that, you can now install cln-dev by following these steps:

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

sudo apt update

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

sudo aptitude -y install cln-dev

Uninstall cln-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 cln-dev.

If you installed cln-dev using APT or Aptitude, you could uninstall cln-dev on Ubuntu by running this command

sudo apt remove --auto-remove cln-dev

You can also execute this command if you want to uninstall cln-dev and remove its data and dependencies:

sudo apt autoremove --purge cln-dev

Ending

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