Introduction
In this tutorial we learn how to install libfoonathan-memory-doc
on Ubuntu 22.04.
What is libfoonathan-memory-doc
libfoonathan-memory-doc is:
The default STL allocator model has various flaws, for example you cannot
easily share a single allocator for multiple types. This library is one of
many proposed solutions for the shortcomings of the standard allocator, which
unlike many other solutions does not require changes in the STL itself.
This package provides the API documentation.
There are three methods to install libfoonathan-memory-doc
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 libfoonathan-memory-doc Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libfoonathan-memory-doc
using apt-get
by running the following command:
sudo apt-get -y install libfoonathan-memory-doc
Install libfoonathan-memory-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libfoonathan-memory-doc
using apt
by running the following command:
sudo apt -y install libfoonathan-memory-doc
Install libfoonathan-memory-doc 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 libfoonathan-memory-doc
using aptitude
by running the following command:
sudo aptitude -y install libfoonathan-memory-doc
How To Uninstall libfoonathan-memory-doc on Ubuntu 22.04
To uninstall only the libfoonathan-memory-doc
package we can use the following command:
sudo apt-get remove libfoonathan-memory-doc
Uninstall libfoonathan-memory-doc And Its Dependencies
To uninstall libfoonathan-memory-doc
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libfoonathan-memory-doc
Remove libfoonathan-memory-doc Configurations and Data
To remove libfoonathan-memory-doc
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libfoonathan-memory-doc
Remove libfoonathan-memory-doc configuration, data, and all of its dependencies
We can use the following command to remove libfoonathan-memory-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libfoonathan-memory-doc
References
Summary
In this tutorial we learn how to install libfoonathan-memory-doc
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.