How To Install liburdfdom-model-state on Ubuntu 18.04

In this tutorial we learn how to install liburdfdom-model-state on Ubuntu 18.04. liburdfdom-model-state is URDF DOM - model state library

Introduction

In this tutorial we learn how to install liburdfdom-model-state on Ubuntu 18.04.

What is liburdfdom-model-state

liburdfdom-model-state 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 URDF DOM model state library.

There are three methods to install liburdfdom-model-state on Ubuntu 18.04. 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-model-state 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-model-state using apt-get by running the following command:

sudo apt-get -y install liburdfdom-model-state

Install liburdfdom-model-state Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liburdfdom-model-state

Install liburdfdom-model-state 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install liburdfdom-model-state

How To Uninstall liburdfdom-model-state on Ubuntu 18.04

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

sudo apt-get remove liburdfdom-model-state

Uninstall liburdfdom-model-state And Its Dependencies

To uninstall liburdfdom-model-state and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove liburdfdom-model-state

Remove liburdfdom-model-state Configurations and Data

To remove liburdfdom-model-state configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge liburdfdom-model-state

Remove liburdfdom-model-state configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liburdfdom-model-state

References

Summary

In this tutorial we learn how to install liburdfdom-model-state package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.