How To Install ros-mk on Debian 12

Learn how to install ros-mk on Debian 12 with this tutorial. ros-mk is Robot OS make file helpers

Introduction

In this tutorial we learn how to install ros-mk on Debian 12.

What is ros-mk

ros-mk is:

This package is part of Robot OS (ROS). It is a collection of make include files for building ROS architectural elements. Most package authors should use cmake.mk, which calls CMake for the build of the package. The other files in this package are intended for use in exotic situations that mostly arise when importing 3rdparty code.

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

Install ros-mk Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ros-mk

Install ros-mk Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ros-mk

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

sudo aptitude -y install ros-mk

How To Uninstall ros-mk on Debian 12

To uninstall only the ros-mk package we can use the following command:

sudo apt-get remove ros-mk

Uninstall ros-mk And Its Dependencies

To uninstall ros-mk and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove ros-mk

Remove ros-mk Configurations and Data

To remove ros-mk configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge ros-mk

Remove ros-mk configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ros-mk

Dependencies

ros-mk have the following dependencies:

References

Summary

In this tutorial we learn how to install ros-mk package on Debian 12 using different package management tools: apt, apt-get and aptitude.