Ways to Uninstall or Install cdpr Ubuntu 22.04

Updated: September 18, 2022

cdpr listens on specified network interfaces for Cisco Discovery Protocol packets. It then decodes those packets and outputs the information, optionally sending the information to a server for processing. In this guide, I will show you how to install cdpr on Ubuntu 22.04.

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 cdpr on Ubuntu 22.04

Install cdpr Ubuntu 22.04

cdpr is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install cdpr 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 cdpr on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt-get update

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

sudo apt-get -y install cdpr

Install cdpr using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt-get install aptitude

Then, you can now install cdpr, 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 fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install cdpr Ubuntu by executing this command in the terminal.

sudo aptitude install cdpr

Uninstall cdpr 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.

If you installed cdpr using APT or Aptitude, you could uninstall cdpr on Ubuntu by following this step:

sudo apt remove --auto-remove cdpr

If you want to uninstall cdpr and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge cdpr


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