Install Required RHEL/CentOS Packages
- 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.rpmOn CentOS:
Open a terminal window, and enter the following command:
sudo yum install epel-release - 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 thatunameis surrounded by backticks (`) and not single quotes ('). - To install additional packages required for emulation, run the
following
commands.
sudo yum install gcc sudo yum install gcc-c++ sudo yum install python2 ln -s /usr/bin/python2 /usr/bin/python - 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.