How To Install tbb on CentOS 7
Introduction
In this tutorial we learn how to install tbb
on CentOS 7.
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. 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install tbb.
Install tbb on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install tbb
using yum
by running the following command:
Install tbb on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install tbb
using dnf
by running the following command:
How To Uninstall tbb on CentOS 7
To uninstall only the tbb
package we can use the following command:
References
Summary
In this tutorial we learn how to install tbb
on CentOS 7 using yum
and dnf
.