How To Install liburdfdom-world on Ubuntu 18.04

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

Introduction

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

What is liburdfdom-world

liburdfdom-world 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 world library.

There are three methods to install liburdfdom-world 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-world 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-world using apt-get by running the following command:

sudo apt-get -y install liburdfdom-world

Install liburdfdom-world Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liburdfdom-world

Install liburdfdom-world 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-world using aptitude by running the following command:

sudo aptitude -y install liburdfdom-world

How To Uninstall liburdfdom-world on Ubuntu 18.04

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

sudo apt-get remove liburdfdom-world

Uninstall liburdfdom-world And Its Dependencies

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

sudo apt-get -y autoremove liburdfdom-world

Remove liburdfdom-world Configurations and Data

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

sudo apt-get -y purge liburdfdom-world

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

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

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

References

Summary

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