How To Install aws-kinesis-agent.noarch on Amazon Linux 2

In this tutorial we learn how to install aws-kinesis-agent.noarch in Amazon Linux 2. aws-kinesis-agent.noarch is Amazon Kinesis Streaming Data Agent

Introduction

In this tutorial we learn how to install aws-kinesis-agent.noarch on Amazon Linux 2.

What is aws-kinesis-agent.noarch

aws-kinesis-agent is a software service that runs on customer hosts and continuously monitors a set of log files and sends new data to the Amazon Kinesis Stream service and Amazon Kinesis Firehose service in near-real-time.

We can use yum to install aws-kinesis-agent.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install aws-kinesis-agent.noarch.

Install aws-kinesis-agent.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install aws-kinesis-agent.noarch using yum by running the following command:

sudo yum -y install aws-kinesis-agent.noarch

How To Uninstall aws-kinesis-agent.noarch on Amazon Linux 2

To uninstall only the aws-kinesis-agent.noarch package we can use the following command:

sudo yum remove aws-kinesis-agent.noarch

aws-kinesis-agent.noarch Package Contents on Amazon Linux 2

/etc/aws-kinesis
/etc/aws-kinesis/agent.d
/etc/aws-kinesis/agent.json
/etc/aws-kinesis/log4j.xml
/etc/cron.d/aws-kinesis-agent
/etc/rc.d/init.d/aws-kinesis-agent
/etc/sysconfig/aws-kinesis-agent
/usr/bin/aws-kinesis-agent-babysit
/usr/bin/start-aws-kinesis-agent
/usr/share/aws-kinesis-agent
/usr/share/aws-kinesis-agent/lib
/usr/share/aws-kinesis-agent/lib/AWSKinesisStreamingDataAgent-1.1.jar
/usr/share/aws-kinesis-agent/lib/aws-java-sdk-cloudwatch-1.11.700.jar
/usr/share/aws-kinesis-agent/lib/aws-java-sdk-core-1.11.700.jar
/usr/share/aws-kinesis-agent/lib/aws-java-sdk-ec2-1.11.700.jar
/usr/share/aws-kinesis-agent/lib/aws-java-sdk-kinesis-1.11.700.jar
/usr/share/aws-kinesis-agent/lib/aws-java-sdk-sts-1.11.700.jar
/usr/share/aws-kinesis-agent/lib/commons-cli-1.2.jar
/usr/share/aws-kinesis-agent/lib/commons-codec-1.6.jar
/usr/share/aws-kinesis-agent/lib/commons-lang3-3.4.jar
/usr/share/aws-kinesis-agent/lib/commons-logging-adapters-1.1.jar
/usr/share/aws-kinesis-agent/lib/commons-logging-api-1.1.jar
/usr/share/aws-kinesis-agent/lib/guava-29.0-jre.jar
/usr/share/aws-kinesis-agent/lib/httpclient-4.5.13.jar
/usr/share/aws-kinesis-agent/lib/httpclient-cache-4.5.1.jar
/usr/share/aws-kinesis-agent/lib/httpcore-4.4.3.jar
/usr/share/aws-kinesis-agent/lib/httpcore-ab-4.4.3.jar
/usr/share/aws-kinesis-agent/lib/httpcore-nio-4.4.3.jar
/usr/share/aws-kinesis-agent/lib/httpmime-4.5.1.jar
/usr/share/aws-kinesis-agent/lib/jackson-annotations-2.10.3.jar
/usr/share/aws-kinesis-agent/lib/jackson-core-2.10.3.jar
/usr/share/aws-kinesis-agent/lib/jackson-databind-2.10.5.1.jar
/usr/share/aws-kinesis-agent/lib/jackson-dataformat-cbor-2.10.3.jar
/usr/share/aws-kinesis-agent/lib/jackson-dataformat-xml-2.10.3.jar
/usr/share/aws-kinesis-agent/lib/jcommander-1.48.jar
/usr/share/aws-kinesis-agent/lib/joda-time-2.8.2.jar
/usr/share/aws-kinesis-agent/lib/jsr305-3.0.1.jar
/usr/share/aws-kinesis-agent/lib/log4j-1.2-api-2.17.1.jar
/usr/share/aws-kinesis-agent/lib/log4j-api-2.17.1.jar
/usr/share/aws-kinesis-agent/lib/log4j-core-2.17.1.jar
/usr/share/aws-kinesis-agent/lib/log4j-slf4j-impl-2.17.1.jar
/usr/share/aws-kinesis-agent/lib/slf4j-api-1.7.12.jar
/usr/share/aws-kinesis-agent/lib/sqlite-jdbc-3.20.1.jar
/usr/share/doc/aws-kinesis-agent-2.0.6
/usr/share/doc/aws-kinesis-agent-2.0.6/LICENSE.txt
/usr/share/doc/aws-kinesis-agent-2.0.6/NOTICE.txt
/usr/share/doc/aws-kinesis-agent-2.0.6/README.md
/var/log/aws-kinesis-agent
/var/run/aws-kinesis-agent

References

Summary

In this tutorial we learn how to install aws-kinesis-agent.noarch on Amazon Linux 2 using yum.