Get Started

  • 2021.2
  • 10/25/2021
  • Public

Step 4: Prepare Host Machine for Development

In this step, you will prepare your host system for development with Intel® TCC Tools by installing dependencies.
You can use your choice of Linux OS as a development host system. The following setup instructions have been validated and are supported on Ubuntu* 20.04 LTS but are expected to work on all common Linux distributions.
You will install these dependencies:
  • ittapi (for applications using the measurement library and measurement library build)
  • g++-multilib (for ittapi as build dependencies, verified on version 4:9.3.0-1ubuntu2)
  • cmake (for application build, verified on version 3.16.3.-1ubuntu1)
  • json-c (for the cache allocation library build, verified on version 0.13.1+dfsg-7ubuntu0.3)
  • msgfmt (for data streams optimizer and cache configurator, verified on version
  • python3-pip (required for the data streams optimizer and cache allocation capabilities, verified on version 20.0.2-5ubuntu1.1)
  • python modules for samples (modules listed in
  • python modules for data streams optimizer and cache configurator (modules listed in
  • Firmware and BIOS Utilities located in GitHub (for data streams optimizer and cache configurator demo)
  • Test certificates (for data streams optimizer and cache configurator demo)
Use the following steps to install the dependencies automatically (for manual instructions, see Install Host Dependencies Manually):
  1. Go to the scripts directory:
    cd ${TCC_ROOT}/scripts
  2. Run the script to install dependencies.
    This script requires git.
  3. If you see the following message, enter your user password:
    Run with sudo privileges `sudo -E ./ ` or Enter your password:
  4. Wait for the installation to end. It may take a few minutes. At the end of installation, you will see the following message:
    SUCCESS: all dependencies installed
  5. At the end of the script, test signing keys for capsules will be placed in
    . Note that the test keys are for testing ONLY on Intel CRB/RVP. In a production environment, you will need to generate your own keys and work with your BIOS vendor to provision them into the BIOS.
  6. To verify that your host system is correctly configured for development with Intel® TCC Tools libraries, you can build one of the provided sample applications,
    , as follows:
    1. Go to the following directory:
      cd ${TCC_ROOT}/samples/tcc_cache_allocation_sample
    2. Build the sample:
    3. Check that the sample was built without errors:
      echo $?
      The output of this command should be
      . If you encounter errors or the output of the command is not
      , confirm that you installed all required dependencies by using the
      script and set up environment variables by sourcing the environment file. Alternatively, follow individual steps in Install Host Dependencies Manually.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at