How To Install tbb-devel on CentOS 8

tbb-devel is The Threading Building Blocks C++ headers and shared development libraries The Threading Building Blocks C++ headers and shared development libraries

Introduction

In this tutorial we learn how to install tbb-devel on CentOS 8.

What is tbb-devel

Header files and shared object symlinks for the Threading Building Blocks (TBB) C++ libraries. tbb-devel 2018.2 9.el8 x86_64 324 k tbb-2018.2-9.el8.src.rpm appstream The Threading Building Blocks C++ headers and shared development libraries http ASL 2.0 Header files and shared object symlinks for the Threading Building Blocks (TBB) C++ libraries.

We can use yum or dnf to install tbb-devel on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install tbb-devel.

Install tbb-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install tbb-devel using dnf by running the following command:

sudo dnf -y install tbb-devel

Install tbb-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install tbb-devel

How To Uninstall tbb-devel on CentOS 8

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

sudo dnf remove tbb-devel

tbb-devel Package Contents on CentOS 8

/usr/include/rml
/usr/include/rml/rml_base.h
/usr/include/rml/rml_omp.h
/usr/include/rml/rml_tbb.h
/usr/include/tbb
/usr/include/tbb/aggregator.h
/usr/include/tbb/aligned_space.h
/usr/include/tbb/atomic.h
/usr/include/tbb/blocked_range.h
/usr/include/tbb/blocked_range2d.h
/usr/include/tbb/blocked_range3d.h
/usr/include/tbb/cache_aligned_allocator.h
/usr/include/tbb/combinable.h
/usr/include/tbb/compat
/usr/include/tbb/compat/condition_variable
/usr/include/tbb/compat/ppl.h
/usr/include/tbb/compat/thread
/usr/include/tbb/compat/tuple
/usr/include/tbb/concurrent_hash_map.h
/usr/include/tbb/concurrent_lru_cache.h
/usr/include/tbb/concurrent_priority_queue.h
/usr/include/tbb/concurrent_queue.h
/usr/include/tbb/concurrent_unordered_map.h
/usr/include/tbb/concurrent_unordered_set.h
/usr/include/tbb/concurrent_vector.h
/usr/include/tbb/critical_section.h
/usr/include/tbb/enumerable_thread_specific.h
/usr/include/tbb/flow_graph.h
/usr/include/tbb/flow_graph_abstractions.h
/usr/include/tbb/flow_graph_opencl_node.h
/usr/include/tbb/gfx_factory.h
/usr/include/tbb/global_control.h
/usr/include/tbb/internal
/usr/include/tbb/internal/_aggregator_impl.h
/usr/include/tbb/internal/_concurrent_queue_impl.h
/usr/include/tbb/internal/_concurrent_unordered_impl.h
/usr/include/tbb/internal/_flow_graph_async_msg_impl.h
/usr/include/tbb/internal/_flow_graph_body_impl.h
/usr/include/tbb/internal/_flow_graph_cache_impl.h
/usr/include/tbb/internal/_flow_graph_impl.h
/usr/include/tbb/internal/_flow_graph_indexer_impl.h
/usr/include/tbb/internal/_flow_graph_item_buffer_impl.h
/usr/include/tbb/internal/_flow_graph_join_impl.h
/usr/include/tbb/internal/_flow_graph_node_impl.h
/usr/include/tbb/internal/_flow_graph_streaming_node.h
/usr/include/tbb/internal/_flow_graph_tagged_buffer_impl.h
/usr/include/tbb/internal/_flow_graph_trace_impl.h
/usr/include/tbb/internal/_flow_graph_types_impl.h
/usr/include/tbb/internal/_mutex_padding.h
/usr/include/tbb/internal/_range_iterator.h
/usr/include/tbb/internal/_tbb_hash_compare_impl.h
/usr/include/tbb/internal/_tbb_strings.h
/usr/include/tbb/internal/_tbb_trace_impl.h
/usr/include/tbb/internal/_tbb_windef.h
/usr/include/tbb/internal/_template_helpers.h
/usr/include/tbb/internal/_x86_eliding_mutex_impl.h
/usr/include/tbb/internal/_x86_rtm_rw_mutex_impl.h
/usr/include/tbb/machine
/usr/include/tbb/machine/gcc_armv7.h
/usr/include/tbb/machine/gcc_generic.h
/usr/include/tbb/machine/gcc_ia32_common.h
/usr/include/tbb/machine/gcc_itsx.h
/usr/include/tbb/machine/ibm_aix51.h
/usr/include/tbb/machine/icc_generic.h
/usr/include/tbb/machine/linux_common.h
/usr/include/tbb/machine/linux_ia32.h
/usr/include/tbb/machine/linux_ia64.h
/usr/include/tbb/machine/linux_intel64.h
/usr/include/tbb/machine/mac_ppc.h
/usr/include/tbb/machine/macos_common.h
/usr/include/tbb/machine/mic_common.h
/usr/include/tbb/machine/msvc_armv7.h
/usr/include/tbb/machine/msvc_ia32_common.h
/usr/include/tbb/machine/sunos_sparc.h
/usr/include/tbb/machine/windows_api.h
/usr/include/tbb/machine/windows_ia32.h
/usr/include/tbb/machine/windows_intel64.h
/usr/include/tbb/memory_pool.h
/usr/include/tbb/mutex.h
/usr/include/tbb/null_mutex.h
/usr/include/tbb/null_rw_mutex.h
/usr/include/tbb/parallel_do.h
/usr/include/tbb/parallel_for.h
/usr/include/tbb/parallel_for_each.h
/usr/include/tbb/parallel_invoke.h
/usr/include/tbb/parallel_reduce.h
/usr/include/tbb/parallel_scan.h
/usr/include/tbb/parallel_sort.h
/usr/include/tbb/parallel_while.h
/usr/include/tbb/partitioner.h
/usr/include/tbb/pipeline.h
/usr/include/tbb/queuing_mutex.h
/usr/include/tbb/queuing_rw_mutex.h
/usr/include/tbb/reader_writer_lock.h
/usr/include/tbb/recursive_mutex.h
/usr/include/tbb/runtime_loader.h
/usr/include/tbb/scalable_allocator.h
/usr/include/tbb/spin_mutex.h
/usr/include/tbb/spin_rw_mutex.h
/usr/include/tbb/task.h
/usr/include/tbb/task_arena.h
/usr/include/tbb/task_group.h
/usr/include/tbb/task_scheduler_init.h
/usr/include/tbb/task_scheduler_observer.h
/usr/include/tbb/tbb.h
/usr/include/tbb/tbb_allocator.h
/usr/include/tbb/tbb_config.h
/usr/include/tbb/tbb_disable_exceptions.h
/usr/include/tbb/tbb_exception.h
/usr/include/tbb/tbb_machine.h
/usr/include/tbb/tbb_profiling.h
/usr/include/tbb/tbb_stddef.h
/usr/include/tbb/tbb_thread.h
/usr/include/tbb/tbbmalloc_proxy.h
/usr/include/tbb/tick_count.h
/usr/lib/cmake
/usr/lib/cmake/tbb
/usr/lib/cmake/tbb/TBBBuild.cmake
/usr/lib/cmake/tbb/TBBGet.cmake
/usr/lib/cmake/tbb/TBBMakeConfig.cmake
/usr/lib/cmake/tbb/tbb_config_generator.cmake
/usr/lib/cmake/tbb/templates
/usr/lib/cmake/tbb/templates/TBBConfig.cmake.in
/usr/lib/cmake/tbb/templates/TBBConfigForSource.cmake.in
/usr/lib/cmake/tbb/templates/TBBConfigVersion.cmake.in
/usr/lib/libirml.so
/usr/lib/libtbb.so
/usr/lib/libtbbmalloc.so
/usr/lib/libtbbmalloc_proxy.so
/usr/lib/pkgconfig/tbb.pc
/usr/lib/pkgconfig/tbbmalloc.pc
/usr/lib/pkgconfig/tbbmalloc_proxy.pc
/usr/share/doc/tbb-devel
/usr/share/doc/tbb-devel/CHANGES
/usr/share/doc/tbb-devel/README.rst
/usr/include/rml
/usr/include/rml/rml_base.h
/usr/include/rml/rml_omp.h
/usr/include/rml/rml_tbb.h
/usr/include/tbb
/usr/include/tbb/aggregator.h
/usr/include/tbb/aligned_space.h
/usr/include/tbb/atomic.h
/usr/include/tbb/blocked_range.h
/usr/include/tbb/blocked_range2d.h
/usr/include/tbb/blocked_range3d.h
/usr/include/tbb/cache_aligned_allocator.h
/usr/include/tbb/combinable.h
/usr/include/tbb/compat
/usr/include/tbb/compat/condition_variable
/usr/include/tbb/compat/ppl.h
/usr/include/tbb/compat/thread
/usr/include/tbb/compat/tuple
/usr/include/tbb/concurrent_hash_map.h
/usr/include/tbb/concurrent_lru_cache.h
/usr/include/tbb/concurrent_priority_queue.h
/usr/include/tbb/concurrent_queue.h
/usr/include/tbb/concurrent_unordered_map.h
/usr/include/tbb/concurrent_unordered_set.h
/usr/include/tbb/concurrent_vector.h
/usr/include/tbb/critical_section.h
/usr/include/tbb/enumerable_thread_specific.h
/usr/include/tbb/flow_graph.h
/usr/include/tbb/flow_graph_abstractions.h
/usr/include/tbb/flow_graph_opencl_node.h
/usr/include/tbb/gfx_factory.h
/usr/include/tbb/global_control.h
/usr/include/tbb/internal
/usr/include/tbb/internal/_aggregator_impl.h
/usr/include/tbb/internal/_concurrent_queue_impl.h
/usr/include/tbb/internal/_concurrent_unordered_impl.h
/usr/include/tbb/internal/_flow_graph_async_msg_impl.h
/usr/include/tbb/internal/_flow_graph_body_impl.h
/usr/include/tbb/internal/_flow_graph_cache_impl.h
/usr/include/tbb/internal/_flow_graph_impl.h
/usr/include/tbb/internal/_flow_graph_indexer_impl.h
/usr/include/tbb/internal/_flow_graph_item_buffer_impl.h
/usr/include/tbb/internal/_flow_graph_join_impl.h
/usr/include/tbb/internal/_flow_graph_node_impl.h
/usr/include/tbb/internal/_flow_graph_streaming_node.h
/usr/include/tbb/internal/_flow_graph_tagged_buffer_impl.h
/usr/include/tbb/internal/_flow_graph_trace_impl.h
/usr/include/tbb/internal/_flow_graph_types_impl.h
/usr/include/tbb/internal/_mutex_padding.h
/usr/include/tbb/internal/_range_iterator.h
/usr/include/tbb/internal/_tbb_hash_compare_impl.h
/usr/include/tbb/internal/_tbb_strings.h
/usr/include/tbb/internal/_tbb_trace_impl.h
/usr/include/tbb/internal/_tbb_windef.h
/usr/include/tbb/internal/_template_helpers.h
/usr/include/tbb/internal/_x86_eliding_mutex_impl.h
/usr/include/tbb/internal/_x86_rtm_rw_mutex_impl.h
/usr/include/tbb/machine
/usr/include/tbb/machine/gcc_armv7.h
/usr/include/tbb/machine/gcc_generic.h
/usr/include/tbb/machine/gcc_ia32_common.h
/usr/include/tbb/machine/gcc_itsx.h
/usr/include/tbb/machine/ibm_aix51.h
/usr/include/tbb/machine/icc_generic.h
/usr/include/tbb/machine/linux_common.h
/usr/include/tbb/machine/linux_ia32.h
/usr/include/tbb/machine/linux_ia64.h
/usr/include/tbb/machine/linux_intel64.h
/usr/include/tbb/machine/mac_ppc.h
/usr/include/tbb/machine/macos_common.h
/usr/include/tbb/machine/mic_common.h
/usr/include/tbb/machine/msvc_armv7.h
/usr/include/tbb/machine/msvc_ia32_common.h
/usr/include/tbb/machine/sunos_sparc.h
/usr/include/tbb/machine/windows_api.h
/usr/include/tbb/machine/windows_ia32.h
/usr/include/tbb/machine/windows_intel64.h
/usr/include/tbb/memory_pool.h
/usr/include/tbb/mutex.h
/usr/include/tbb/null_mutex.h
/usr/include/tbb/null_rw_mutex.h
/usr/include/tbb/parallel_do.h
/usr/include/tbb/parallel_for.h
/usr/include/tbb/parallel_for_each.h
/usr/include/tbb/parallel_invoke.h
/usr/include/tbb/parallel_reduce.h
/usr/include/tbb/parallel_scan.h
/usr/include/tbb/parallel_sort.h
/usr/include/tbb/parallel_while.h
/usr/include/tbb/partitioner.h
/usr/include/tbb/pipeline.h
/usr/include/tbb/queuing_mutex.h
/usr/include/tbb/queuing_rw_mutex.h
/usr/include/tbb/reader_writer_lock.h
/usr/include/tbb/recursive_mutex.h
/usr/include/tbb/runtime_loader.h
/usr/include/tbb/scalable_allocator.h
/usr/include/tbb/spin_mutex.h
/usr/include/tbb/spin_rw_mutex.h
/usr/include/tbb/task.h
/usr/include/tbb/task_arena.h
/usr/include/tbb/task_group.h
/usr/include/tbb/task_scheduler_init.h
/usr/include/tbb/task_scheduler_observer.h
/usr/include/tbb/tbb.h
/usr/include/tbb/tbb_allocator.h
/usr/include/tbb/tbb_config.h
/usr/include/tbb/tbb_disable_exceptions.h
/usr/include/tbb/tbb_exception.h
/usr/include/tbb/tbb_machine.h
/usr/include/tbb/tbb_profiling.h
/usr/include/tbb/tbb_stddef.h
/usr/include/tbb/tbb_thread.h
/usr/include/tbb/tbbmalloc_proxy.h
/usr/include/tbb/tick_count.h
/usr/lib64/cmake
/usr/lib64/cmake/tbb
/usr/lib64/cmake/tbb/TBBBuild.cmake
/usr/lib64/cmake/tbb/TBBGet.cmake
/usr/lib64/cmake/tbb/TBBMakeConfig.cmake
/usr/lib64/cmake/tbb/tbb_config_generator.cmake
/usr/lib64/cmake/tbb/templates
/usr/lib64/cmake/tbb/templates/TBBConfig.cmake.in
/usr/lib64/cmake/tbb/templates/TBBConfigForSource.cmake.in
/usr/lib64/cmake/tbb/templates/TBBConfigVersion.cmake.in
/usr/lib64/libirml.so
/usr/lib64/libtbb.so
/usr/lib64/libtbbmalloc.so
/usr/lib64/libtbbmalloc_proxy.so
/usr/lib64/pkgconfig/tbb.pc
/usr/lib64/pkgconfig/tbbmalloc.pc
/usr/lib64/pkgconfig/tbbmalloc_proxy.pc
/usr/share/doc/tbb-devel
/usr/share/doc/tbb-devel/CHANGES
/usr/share/doc/tbb-devel/README.rst

References

Summary

In this tutorial we learn how to install tbb-devel on CentOS 8 using yum and dnf.