How To Install stx-btree-doc on Ubuntu 18.04
Introduction
In this tutorial we learn how to install stx-btree-doc on Ubuntu 18.04.
What is stx-btree-doc
stx-btree-doc is:
The STX B+ Tree package is a set of C++ template classes implementing a B+ tree key/data container in main memory. This package provides a doxygen-generated documentation.
There are three methods to install stx-btree-doc on Ubuntu 18.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 stx-btree-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 stx-btree-doc using apt-get by running the following command:
sudo apt-get -y install stx-btree-doc
Install stx-btree-doc Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install stx-btree-doc using apt by running the following command:
sudo apt -y install stx-btree-doc
Install stx-btree-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 stx-btree-doc using aptitude by running the following command:
sudo aptitude -y install stx-btree-doc
How To Uninstall stx-btree-doc on Ubuntu 18.04
To uninstall only the stx-btree-doc package we can use the following command:
sudo apt-get remove stx-btree-doc
Uninstall stx-btree-doc And Its Dependencies
To uninstall stx-btree-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove stx-btree-doc
Remove stx-btree-doc Configurations and Data
To remove stx-btree-doc configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge stx-btree-doc
Remove stx-btree-doc configuration, data, and all of its dependencies
We can use the following command to remove stx-btree-doc configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge stx-btree-doc
References
Summary
In this tutorial we learn how to install stx-btree-doc package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.