How To Install liburdfdom-dev on Debian 9

In this tutorial we learn how to install liburdfdom-dev on Debian 9. liburdfdom-dev is URDF DOM - development files

Introduction

In this tutorial we learn how to install liburdfdom-dev on Debian 9.

What is liburdfdom-dev

liburdfdom-dev is:

The URDF (U-Robot Description Format) library provides core data structures and a simple XML parsers for populating the class data structures from an URDF file.

This package contains the development files (headers, pkg-config and CMake files).

There are three methods to install liburdfdom-dev on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install liburdfdom-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install liburdfdom-dev using apt-get by running the following command:

sudo apt-get -y install liburdfdom-dev

Install liburdfdom-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install liburdfdom-dev using apt by running the following command:

sudo apt -y install liburdfdom-dev

Install liburdfdom-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install liburdfdom-dev using aptitude by running the following command:

sudo aptitude -y install liburdfdom-dev

How To Uninstall liburdfdom-dev on Debian 9

To uninstall only the liburdfdom-dev package we can use the following command:

sudo apt-get remove liburdfdom-dev

Uninstall liburdfdom-dev And Its Dependencies

To uninstall liburdfdom-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove liburdfdom-dev

Remove liburdfdom-dev Configurations and Data

To remove liburdfdom-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge liburdfdom-dev

Remove liburdfdom-dev configuration, data, and all of its dependencies

We can use the following command to remove liburdfdom-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge liburdfdom-dev

Dependencies

liburdfdom-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install liburdfdom-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.