How To Install libroscpp-dev on Debian 10
Introduction
In this tutorial we learn how to install libroscpp-dev
on Debian 10.
What is libroscpp-dev
libroscpp-dev is:
This package is part of Robot OS (ROS). roscpp is a C++ implementation of ROS. It provides a client library that enables C++ programmers to quickly interface with ROS topics, services, and parameters.
roscpp is the most widely used ROS client library and is designed to be the high-performance library for ROS. ROS console output library.
This package contains the development files for the library.
There are three methods to install libroscpp-dev
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libroscpp-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 libroscpp-dev
using apt-get
by running the following command:
sudo apt-get -y install libroscpp-dev
Install libroscpp-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libroscpp-dev
using apt
by running the following command:
sudo apt -y install libroscpp-dev
Install libroscpp-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 libroscpp-dev
using aptitude
by running the following command:
sudo aptitude -y install libroscpp-dev
How To Uninstall libroscpp-dev on Debian 10
To uninstall only the libroscpp-dev
package we can use the following command:
sudo apt-get remove libroscpp-dev
Uninstall libroscpp-dev And Its Dependencies
To uninstall libroscpp-dev
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libroscpp-dev
Remove libroscpp-dev Configurations and Data
To remove libroscpp-dev
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libroscpp-dev
Remove libroscpp-dev configuration, data, and all of its dependencies
We can use the following command to remove libroscpp-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libroscpp-dev
Dependencies
libroscpp-dev have the following dependencies:
- libroscpp2d
- python
- libboost-signals-dev
- libboost-filesystem-dev
- libboost-system-dev
- librosconsole-dev
- libros-rosgraph-msgs-dev
- libxmlrpcpp-dev
- libroscpp-msg-dev
References
Summary
In this tutorial we learn how to install libroscpp-dev
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.