How To Install libpolled-camera-dev on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libpolled-camera-dev on Ubuntu 22.04.
What is libpolled-camera-dev
libpolled-camera-dev is:
This package is part of Robot OS (ROS). It contains the C++ header files for implementing a polled camera driver node and requesting images from it. The package is currently for internal use as the API is still under development.
There are three methods to install libpolled-camera-dev on Ubuntu 22.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 libpolled-camera-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 libpolled-camera-dev using apt-get by running the following command:
sudo apt-get -y install libpolled-camera-dev
Install libpolled-camera-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libpolled-camera-dev using apt by running the following command:
sudo apt -y install libpolled-camera-dev
Install libpolled-camera-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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install libpolled-camera-dev using aptitude by running the following command:
sudo aptitude -y install libpolled-camera-dev
How To Uninstall libpolled-camera-dev on Ubuntu 22.04
To uninstall only the libpolled-camera-dev package we can use the following command:
sudo apt-get remove libpolled-camera-dev
Uninstall libpolled-camera-dev And Its Dependencies
To uninstall libpolled-camera-dev and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libpolled-camera-dev
Remove libpolled-camera-dev Configurations and Data
To remove libpolled-camera-dev configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libpolled-camera-dev
Remove libpolled-camera-dev configuration, data, and all of its dependencies
We can use the following command to remove libpolled-camera-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpolled-camera-dev
References
Summary
In this tutorial we learn how to install libpolled-camera-dev package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.