Install Platforms on Ubuntu

If you are installing these packages for use with the Vitis development environment and do not have an installed card, then you can ignore any message asking you to flash the accelerator card. However, if you are installing these packages for use with an installed accelerator card, you must follow the instructions in Getting Started with Alveo Data Center Accelerator Cards (UG1301).
IMPORTANT: Before installing platforms, you must have Xilinx Runtime installed, as described in Installing Xilinx Runtime.
  1. Download the deployment and development target platform packages for the Alveo Data Center Accelerator card you are using from the card product website.

    U50
    https://www.xilinx.com/products/boards-and-kits/alveo/u50.html#gettingStarted
    U200
    https://www.xilinx.com/products/boards-and-kits/alveo/u200.html#gettingStarted
    U250
    https://www.xilinx.com/products/boards-and-kits/alveo/u250.html#gettingStarted
    U280
    https://www.xilinx.com/products/boards-and-kits/alveo/u280.html#gettingStarted
  2. To install the packages, enter the following command.
    sudo apt install <deb-dir>/<deployment_shell_filename_OS>.deb
    sudo apt install <deb-dir>/<development_shell_filename_OS>.deb
    sudo add-apt-repository ppa:xorg-edgers/ppa 
    sudo apt-get update
    sudo apt-get install libgl1-mesa-glx
    sudo apt-get install libgl1-mesa-dri
    sudo apt-get install libgl1-mesa-dev
    sudo add-apt-repository --remove ppa:xorg-edgers/ppa
    Note: <deb-dir> is the directory where you downloaded the packages to install. <OS> represents the Ubuntu operating system version (16.04 or 18.04) you are using.