Step 1: Install the necessary dependencies on the device - Amazon Kinesis Video Streams
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Step 1: Install the necessary dependencies on the device

Install dependencies on the device
  1. To run the Amazon Kinesis Video Streams Edge Agent, install the following appropriate libraries on your device:



    wget -O- | sudo apt-key add - sudo add-apt-repository 'deb stable main' sudo apt-get update sudo apt-get install -y gcc libssl-dev libcurl4-openssl-dev liblog4cplus-dev \ libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \ gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-bad \ gstreamer1.0-plugins-good gstreamer1.0-tools \ unzip java-11-amazon-corretto-jdk maven
    Amazon Linux 2


    sudo yum update -y && sudo yum upgrade -y && sudo yum clean all -y sudo yum install -y gcc-c++ openssl-devel libcurl-devel gstreamer1* wget \ java-11-amazon-corretto tar

    Install log4cplus-2.1.0 from the source.

    wget tar -xzvf log4cplus-2.1.0.tar.gz cd log4cplus-2.1.0 && \ mkdir build && \ cd build && \ cmake .. && \ sudo make && \ sudo make install

    Install apache-maven-3.9.2 from the source.

    wget RUN tar -xzvf apache-maven-3.9.2-bin.tar.gz -C /opt

    If you see a screen telling you that some services need to be restarted, press Enter to select Ok.

    For additional information, see Amazon Corretto 11 User Guide.

  2. Install the Amazon Command Line Interface. See the Installing or updating the latest version of the Amazon CLI procedures in the Amazon Command Line Interface User Guide.