Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Programming languages and runtimes on AL1 - Amazon Linux 1

Programming languages and runtimes on AL1

Warning

Amazon Linux 1 (AL1, formerly Amazon Linux AMI) is no longer supported. This guide is available only for reference purposes.

Note

AL1 is no longer the current version of Amazon Linux. AL2023 is the successor to AL1 and AL2. For more information about what's new in AL2023, see Comparing AL1 and AL2023 section in the AL2023 User Guide and the list of Package changes in AL2023.

AL1 provides different versions of some language runtimes. We work with upstream projects that support multiple versions at the same time. To find information about how to install and manage these name-versioned packages, use the yum command to search and install these packages.

The following topics outline how each language ecosystem exists in AL1.

C, C++, and Fortran in AL1

AL1 includes both the GNU Compiler Collection (GCC) and the Clang frontend for LLVM (Low Level Virtual Machine).

Golang in AL1

AL1 updated the Go toolchain throughout the life of the operating system. This might have been be in response to a CVE in the toolchain or an emerging requirement needed to update another package.

Java in AL1

AL1 provided several versions of Java. The java-1.6.0-openjdk package was deprecated with the initial 2018.03 release, with java-1.7.0-openjdk and java-1.8.0-openjdk being available. For more information on the support for each version of Java in AL1, see AL1 package support status.

Perl in AL1

AL1 provides version 5.16 of the Perl programming language.

PHP in AL1

AL1 provided several versions of the PHP programming language, each supported for same period of time as upstream PHP. For more information on the length of support for each PHP version, see AL1 package support status.

Python in AL1

With the 2018.03 release of AL1, Python 2.6 was deprecated. Python 2.6 continued to be available in the package repositories for backwards compatibility as customers finished their migration to Python 2.7 or 3.

The system Python is 2.7, with various Python 3 versions available as options. For more information, see AL1 package support status.

Rust in AL1

There were updates to the Rust toolchain throughout the life of AL1.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.