FPGA AI Suite Handbook

ID 863373
Date 11/21/2025
Public
Document Table of Contents

4.2.2.2. Ubuntu* Operating System Requirements

FPGA AI Suite has the following requirements for Ubuntu* operating systems:
  • You must have the following packages installed:
    Table 9.  Required Ubuntu Packages
    Ubuntu* Version Required Packages
    20.04 9 libnuma-dev, cmake, git, curl, graphviz, unzip, lsb, libtbb-dev, libgflags-dev, libboost-all-dev, ninja-build
    22.04 libnuma-dev, cmake, git, curl, graphviz, unzip, lsb, libtbb-dev, libgflags-dev, libboost-all-dev, ninja-build
    24.04 libnuma-dev, cmake, git, curl, graphviz, unzip, libtbb-dev, libgflags-dev, libboost-all-dev, ninja-build
  • CMake 3.31.6 or later (required by the FPGA AI Suite design examples).

    Check your version of CMake and ensure it is compatible. If you need to update your version of CMake, refer to Updating CMake.

  • Python 3.12 (required by OpenVINO™ toolkit version that is required by FPGA AI Suite).

    Confirm that you have Python 3.12 on your system by running the python3.12 -v command. If this command returns an error, add Python 3.12 by following the instructions in Installing the Required Python Version.

Updating CMake

To update your version of CMake to version 3.31.6:
  1. If you do not have the wget package installed, install it with the following commands:
    sudo apt update
    
    sudo apt install wget
  2. Download the CMake 3.31.6 packages for your operating system version by running the following commands:
    Ubuntu* 20.04 9
    wget https://apt.kitware.com/ubuntu/pool/main/c/cmake/\
    cmake_3.31.6-0kitware1ubuntu20.04.1_amd64.deb
    
    wget https://apt.kitware.com/ubuntu/pool/main/c/cmake/\
    cmake-data_3.31.6-0kitware1ubuntu20.04.1_all.deb
    wget https://apt.kitware.com/ubuntu/pool/main/c/cmake/\
    cmake_3.31.6-0kitware1ubuntu22.04.1_amd64.deb
    
    wget https://apt.kitware.com/ubuntu/pool/main/c/cmake/\
    cmake-data_3.31.6-0kitware1ubuntu22.04.1_all.deb
    Ubuntu* 24.04
    wget https://apt.kitware.com/ubuntu/pool/main/c/cmake/\
    cmake_3.31.6-0kitware1ubuntu24.04.1_amd64.deb
    
    wget https://apt.kitware.com/ubuntu/pool/main/c/cmake/\
    cmake-data_3.31.6-0kitware1ubuntu24.04.1_all.deb
  3. Install the downloaded CMake packages with the following commands:
    sudo dpkg -i cmake-data_3.31.6-0kitware1ubuntu*_all.deb
    
    sudo dpkg -i cmake_3.31.6-0kitware1ubuntu*_amd64.deb

Installing the Required Python Version

To install the required version of Python:
  1. Install Python 3.12:
    • Ubuntu* 20.049/Ubuntu* 22.04
      sudo apt update && sudo apt upgrade -y
                                 
      sudo add-apt-repository ppa:deadsnakes/ppa -y
                                 
      sudo apt install python3.12 python3.12-venv -y
    • Ubuntu* 24.04
      sudo apt update && sudo apt upgrade -y
                                 
      sudo apt install python3.12 python3.12-venv -y
  2. Verify your Python installation with the following command:
    python3.12 -V

    This command should return output indicating the version that you are using. For example:

    Python 3.12.10

9 Standard support for Ubuntu* Version 20.04 has ended. As a result, some repositories required for installation might not be available.