Linux Support Updates for AWS CLI v2

Overview

Today, Amazon Web Services is announcing the official Linux distribution support policy for the AWS Command Line Interface (AWS CLI) v2. In particular, this policy applies to Linux distributions based on the GNU C Library (glibc): the C standard library implementation by the GNU Project.

Beginning September 16, 2024, the AWS CLI v2 will provide compatibility with glibc-based Linux distributions that use glibc version 2.17 or later. Users running AWS CLI v2 on a Linux distribution with glibc version 2.16 or prior will not receive guaranteed compatibility with future releases of AWS CLI v2.

AWS CLI v2 Linux executables are built using Docker images published by the manylinux project. Going forward, we will support Linux distributions using a glibc version equal to the version used in the oldest supported manylinux Docker image, or later. The Docker image that meets this criteria today is the manylinux2014 image, which uses glibc 2.17.

Migrating to a newer glibc version

For users currently on Linux distributions using glibc version 2.16 or prior, we recommend upgrading to glibc 2.17 or later to receive continued support with future releases of AWS CLI v2.

For users unable to upgrade, we recommend either remaining on their currently installed version of AWS CLI v2, or installing AWS CLI v2 version 2.17.49 or prior. For more information on installing past releases of the AWS CLI v2, please visit the installation docs.

Conclusion

If you’re currently using AWS CLI v2 on a Linux distribution with glibc version 2.16 or prior, the AWS CLI team recommends upgrading to glibc 2.17 or later. Please share your questions, comments, and issues with us on our GitHub repository.

About the author:

Ahmed Moustafa

Ahmed is a software development engineer on the CLI team at AWS. He is passionate about working on projects and tools that aim to improve the developer experience. You can find him on GitHub @aemous.