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

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

    Ubuntu

    Type:

    wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add - sudo add-apt-repository 'deb https://apt.corretto.aws 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

    Type:

    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 https://github.com/log4cplus/log4cplus/releases/download/REL_2_1_0/log4cplus-2.1.0.tar.gz 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 https://dlcdn.apache.org/maven/maven-3/3.9.2/binaries/apache-maven-3.9.2-bin.tar.gz RUN tar -xzvf apache-maven-3.9.2-bin.tar.gz -C /opt
    Important

    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.