How To Install tbb on AlmaLinux 8
Introduction
In this tutorial we learn how to install tbb
on AlmaLinux 8.
What is tbb
Threading Building Blocks (TBB) is a C++ runtime library that abstracts the low-level threading details necessary for optimal multi-core performance. It uses common C++ templates and coding style to eliminate tedious threading implementation work. TBB requires fewer lines of code to achieve parallelism than other threading models. The applications you write are portable across platforms. Since the library is also inherently scalable, no code maintenance is required as more processor cores become available.
We can use yum
or dnf
to install tbb
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install tbb.
Install tbb on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install tbb
using dnf
by running the following command:
sudo dnf -y install tbb
Install tbb on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install tbb
using yum
by running the following command:
sudo yum -y install tbb
How To Uninstall tbb on AlmaLinux 8
To uninstall only the tbb
package we can use the following command:
sudo dnf remove tbb
References
Summary
In this tutorial we learn how to install tbb
on AlmaLinux 8 using yum and dnf.