选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Programming languages and runtimes on AL1

聚焦模式
Programming languages and runtimes on AL1 - Amazon Linux 1
此页面尚未翻译为您的语言。 请求翻译
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.

本页内容

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。