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.
Topics
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
PHP in AL1
AL1 provided several versions of the PHP
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.