Install on Linux* OS#
Learn how to install a stand-alone version of oneTBB to a Linux* OS machine.
Note
To install oneTBB as a part of the Intel® oneAPI Base Toolkit, refer to Intel(R) oneAPI Toolkits Installation Guide.
Prerequisites#
See oneTBB System Requirements.
If you need NUMA/Hybrid CPU support in oneTBB, install HWLOC*:
sudo apt install hwloc
Note
For Hybrid CPU support, make sure that HWLOC* is version 2.5 or higher. For NUMA support, install HWLOC* version 1.11 or higher.
For Linux* OS, the source code is also provided on the official Portable Hardware Locality website (https://www-lb.open-mpi.org/projects/hwloc/). In this case, the binaries should be built.
Choose the preferred way to install oneTBB:
Installation Directory#
After installing oneTBB, you can find the library in the installation directory. By default, <install_dir>
is the following:
For superusers (root):
/opt/intel/oneapi/tbb
For ordinary users (non-root):
$HOME/intel/oneapi/tbb
Note
Configure environment variables after installation. See Next Steps to learn about it.