選取您的 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.或其附屬公司。保留所有權利。