How to Install and Uninstall amazon-ssm-agent.x86_64 Package on Amazon Linux 2

Last updated: November 26,2024

1. Install "amazon-ssm-agent.x86_64" package

This guide covers the steps necessary to install amazon-ssm-agent.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install amazon-ssm-agent.x86_64

2. Uninstall "amazon-ssm-agent.x86_64" package

Please follow the guidance below to uninstall amazon-ssm-agent.x86_64 on Amazon Linux 2:

$ sudo yum remove amazon-ssm-agent.x86_64 $ sudo yum autoremove

3. Information about the amazon-ssm-agent.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : amazon-ssm-agent
Arch : x86_64
Version : 3.1.1188.0
Release : 1.amzn2
Size : 27 M
Repo : amzn2-core/2/x86_64
Summary : Manage EC2 Instances using SSM APIs
URL : http://docs.aws.amazon.com/ssm/latest/APIReference/Welcome.html
License : ASL 2.0
Description : This package provides Amazon SSM Agent for managing EC2 Instances
: using SSM APIs