How To Install python-shape-msgs on Debian 9

In this tutorial we learn how to install python-shape-msgs on Debian 9. python-shape-msgs is Messages relating to Robot OS shape, Python interface

Introduction

In this tutorial we learn how to install python-shape-msgs on Debian 9.

What is python-shape-msgs

python-shape-msgs is:

This package is part of Robot OS (ROS), and provides messages for defining shapes, such as simple solid object primitives (cube, sphere, etc), planes, and meshes.

This package contains the generated Python package.

There are three methods to install python-shape-msgs 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 python-shape-msgs Using apt-get

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

sudo apt-get update

After updating apt database, We can install python-shape-msgs using apt-get by running the following command:

sudo apt-get -y install python-shape-msgs

Install python-shape-msgs Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-shape-msgs using apt by running the following command:

sudo apt -y install python-shape-msgs

Install python-shape-msgs 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 python-shape-msgs using aptitude by running the following command:

sudo aptitude -y install python-shape-msgs

How To Uninstall python-shape-msgs on Debian 9

To uninstall only the python-shape-msgs package we can use the following command:

sudo apt-get remove python-shape-msgs

Uninstall python-shape-msgs And Its Dependencies

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

sudo apt-get -y autoremove python-shape-msgs

Remove python-shape-msgs Configurations and Data

To remove python-shape-msgs configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-shape-msgs

Remove python-shape-msgs configuration, data, and all of its dependencies

We can use the following command to remove python-shape-msgs configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-shape-msgs

Dependencies

python-shape-msgs have the following dependencies:

References

Summary

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