How To Install tbb on Rocky Linux 8

In this tutorial we learn how to install tbb on Rocky Linux 8. tbb is The Threading Building Blocks library abstracts low-level threading details

Introduction

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

Install tbb on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove tbb

tbb Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/eeeb9a8ebea36db3171d1067b1e7f206270680
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/e1cae73045a859bed4b947629e3d87df840e5c
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/5d619bdca88cf7dd2aa3991cac0ffb885bbc0a
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/ff3010d2e1e7ffae88e5f12cdb6a1c9e7d8175
/usr/lib64/libirml.so.1
/usr/lib64/libtbb.so.2
/usr/lib64/libtbbmalloc.so.2
/usr/lib64/libtbbmalloc_proxy.so.2
/usr/share/doc/tbb
/usr/share/doc/tbb/README.md
/usr/share/doc/tbb/Release_Notes.txt
/usr/share/licenses/tbb
/usr/share/licenses/tbb/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/04e38d4e51248644b299fb898485a8a434de3f
/usr/lib/.build-id/80
/usr/lib/.build-id/80/e073db9dcff3e2c9e25599667b3aca0896210b
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/75de080bdb7a4d8714e7f4000d6288ef4c170e
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/82dde595f778547c111f3f035646d80e867868
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/13c549e365d4a33e0b2c063aaa94e4e823d83e
/usr/lib/.build-id/df
/usr/lib/.build-id/df/4654f86d1c50662f0abdf68b1c95f7b96189fb
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/c3a24cb7524c5b3c43d1e9a39633b862c9971c
/usr/lib/libirml.so.1
/usr/lib/libtbb.so.2
/usr/lib/libtbbmalloc.so.2
/usr/lib/libtbbmalloc_proxy.so.2
/usr/lib/sse2/libtbb.so.2
/usr/lib/sse2/libtbbmalloc.so.2
/usr/lib/sse2/libtbbmalloc_proxy.so.2
/usr/share/doc/tbb
/usr/share/doc/tbb/README.md
/usr/share/doc/tbb/Release_Notes.txt
/usr/share/licenses/tbb
/usr/share/licenses/tbb/LICENSE

References

Summary

In this tutorial we learn how to install tbb on Rocky Linux 8 using yum and dnf.