How To Install libtbb-doc on Ubuntu 22.04

In this tutorial we learn how to install libtbb-doc on Ubuntu 22.04. libtbb-doc is parallelism library for C++ - documentation

Introduction

In this tutorial we learn how to install libtbb-doc on Ubuntu 22.04.

What is libtbb-doc

libtbb-doc is:

TBB is a library that helps you leverage multi-core processor performance without having to be a threading expert. It represents a higher-level, task-based parallelism that abstracts platform details and threading mechanism for performance and scalability.

This package includes the TBB documentation files and examples.

There are three methods to install libtbb-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 libtbb-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 libtbb-doc using apt-get by running the following command:

sudo apt-get -y install libtbb-doc

Install libtbb-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libtbb-doc using apt by running the following command:

sudo apt -y install libtbb-doc

Install libtbb-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 libtbb-doc using aptitude by running the following command:

sudo aptitude -y install libtbb-doc

How To Uninstall libtbb-doc on Ubuntu 22.04

To uninstall only the libtbb-doc package we can use the following command:

sudo apt-get remove libtbb-doc

Uninstall libtbb-doc And Its Dependencies

To uninstall libtbb-doc and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove libtbb-doc

Remove libtbb-doc Configurations and Data

To remove libtbb-doc configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge libtbb-doc

Remove libtbb-doc configuration, data, and all of its dependencies

We can use the following command to remove libtbb-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libtbb-doc

References

Summary

In this tutorial we learn how to install libtbb-doc package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.