How To Install tbb.x86_64 on Amazon Linux 2

In this tutorial we learn how to install tbb.x86_64 in Amazon Linux 2. tbb.x86_64 is The Threading Building Blocks library abstracts low-level

Introduction

In this tutorial we learn how to install tbb.x86_64 on Amazon Linux 2.

What is tbb.x86_64

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 to install tbb.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install tbb.x86_64.

Install tbb.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install tbb.x86_64 using yum by running the following command:

sudo yum -y install tbb.x86_64

How To Uninstall tbb.x86_64 on Amazon Linux 2

To uninstall only the tbb.x86_64 package we can use the following command:

sudo yum remove tbb.x86_64

tbb.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libtbb.so.2
/usr/lib64/libtbbmalloc.so.2
/usr/lib64/libtbbmalloc_proxy.so.2
/usr/share/doc/tbb-4.1
/usr/share/doc/tbb-4.1/COPYING
/usr/share/doc/tbb-4.1/Release_Notes.txt

References

Summary

In this tutorial we learn how to install tbb.x86_64 on Amazon Linux 2 using yum.