How To Install libresource-retriever-dev on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libresource-retriever-dev on Ubuntu 22.04.
What is libresource-retriever-dev
libresource-retriever-dev is:
This package is part of Robot OS (ROS). It retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads the data into memory. The package:// url for ros packages is translated into a local file:// url. The resource retriever was initially designed to load mesh files into memory, but it can be used for any type of data. The resource retriever is based on the libcurl library.
This package contains the development files.
There are three methods to install libresource-retriever-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 libresource-retriever-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 libresource-retriever-dev using apt-get by running the following command:
sudo apt-get -y install libresource-retriever-dev
Install libresource-retriever-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libresource-retriever-dev using apt by running the following command:
sudo apt -y install libresource-retriever-dev
Install libresource-retriever-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 libresource-retriever-dev using aptitude by running the following command:
sudo aptitude -y install libresource-retriever-dev
How To Uninstall libresource-retriever-dev on Ubuntu 22.04
To uninstall only the libresource-retriever-dev package we can use the following command:
sudo apt-get remove libresource-retriever-dev
Uninstall libresource-retriever-dev And Its Dependencies
To uninstall libresource-retriever-dev and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libresource-retriever-dev
Remove libresource-retriever-dev Configurations and Data
To remove libresource-retriever-dev configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libresource-retriever-dev
Remove libresource-retriever-dev configuration, data, and all of its dependencies
We can use the following command to remove libresource-retriever-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libresource-retriever-dev
References
Summary
In this tutorial we learn how to install libresource-retriever-dev package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.