Install Required CentOS/RHEL Packages

Before installing the Vitis software platform on CentOS or RedHat, you must install the Extra Packages for Enterprise Linux (EPEL), and ensure you have the proper kernel-headers and kernel-devel packages installed. The initial setup commands depend on your operating system. For more information, see https://fedoraproject.org/wiki/EPEL.
IMPORTANT: For Linux, GLX version 1.3 or higher is required. For more information, see AR#73017.
Note: Ubuntu does not require additional packages.
  1. Install EPEL.

    On RedHat:

    To enable an additional repository on your system and install the packages, open a terminal window, and enter the following command:

    $ sudo yum-config-manager --enable rhel-7-server-optional-rpms
    
    $ sudo yum install -y https://dl.fedoraproject.org/pub/epel/
    epel-release-latest-7.noarch.rpm
    

    On CentOS:

    Open a terminal window, and enter the following command:

    sudo yum install epel-release
  2. To install kernel headers and kernel development packages, run the following commands:
    $ sudo yum install kernel-headers-`uname -r` 
    $ sudo yum install kernel-devel-`uname -r`
    Note: Ensure that uname is surrounded by backticks (`) and not single quotes (').
  3. Cold reboot your system.
TIP: To verify that you have installed all required packages on your machine, use this script: https://github.com/Xilinx/XRT/blob/master/src/runtime_src/tools/scripts/xrtdeps.sh.