How To Install libclass-loader-dev on Debian 9

In this tutorial we learn how to install libclass-loader-dev on Debian 9. libclass-loader-dev is development files for Robot OS class_loader library

Introduction

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

What is libclass-loader-dev

libclass-loader-dev is:

This package is part of Robot OS (ROS). The class_loader package is a ROS-independent package for loading plugins during runtime and the foundation of the higher level ROS “pluginlib” library. class_loader utilizes the host operating system’s runtime loader to open runtime libraries (e.g. .so/.dll files), introspect the library for exported plugin classes, and allows users to instantiate objects of said exported classes without the explicit declaration (i.e. header file) for those classes.

This package contains the development files for the library.

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

sudo apt-get -y install libclass-loader-dev

Install libclass-loader-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libclass-loader-dev

Install libclass-loader-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 libclass-loader-dev using aptitude by running the following command:

sudo aptitude -y install libclass-loader-dev

How To Uninstall libclass-loader-dev on Debian 9

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

sudo apt-get remove libclass-loader-dev

Uninstall libclass-loader-dev And Its Dependencies

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

sudo apt-get -y autoremove libclass-loader-dev

Remove libclass-loader-dev Configurations and Data

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

sudo apt-get -y purge libclass-loader-dev

Remove libclass-loader-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libclass-loader-dev

Dependencies

libclass-loader-dev have the following dependencies:

References

Summary

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