Install the Session Manager plugin on Amazon Linux 2 and Red Hat Enterprise Linux distributions - Amazon Systems Manager
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).

Install the Session Manager plugin on Amazon Linux 2 and Red Hat Enterprise Linux distributions

Use the following procedure to install the Session Manager plugin on RHEL distributions.

Note

The Session Manager plugin is not supported on Amazon Linux 1. It is supported on Amazon Linux 2 and later distributions.

  1. Download and install the Session Manager plugin RPM package.

    x86_64

    On RHEL 7, run the following command:

    sudo yum install -y https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm

    On RHEL 8 and 9, run the following command:

    sudo dnf install -y https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm
    x86

    On RHEL 7, run the following command:

    sudo yum install -y https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_32bit/session-manager-plugin.rpm

    On RHEL 8 and 9, run the following command:

    sudo dnf install -y https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_32bit/session-manager-plugin.rpm
    ARM64

    On RHEL 7, run the following command:

    sudo yum install -y https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_arm64/session-manager-plugin.rpm

    On RHEL 8 and 9, run the following command:

    sudo dnf install -y https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_arm64/session-manager-plugin.rpm
  2. Verify that the installation was successful. For information, see Verify the Session Manager plugin installation.

Note

If you ever want to uninstall the plugin, run sudo yum erase session-manager-plugin -y