How to install nginx-devel on Amazon Linux
NGINX source tree and RPM macros for NGINX modules packaging
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|---|
| Amazon Linux 2023 | Stable | — | — | 1.30.7 | |
| NGINX mainline | — | 1.31.9 | |||
| Amazon Linux 2012.03 | Stable | — | — | 1.22.1 | |
| NGINX mainline | — | — | 1.25.4 | ||
| Amazon Linux 2 | Stable | — | — | 1.30.7 | |
| NGINX mainline | — | 1.31.9 |
Description
NGINX source tree of the exact version this package is built against, unpacked at /usr/src/nginx-1.31.9 (with a /usr/src/nginx symlink), plus RPM macros for NGINX modules packaging. Module builds copy the source tree from here instead of downloading nginx.org tarballs.
Built for Amazon Linux.
Install
nginx-devel on Amazon Linux 2, 2012.03, 2023
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install nginx-devel
nginx-devel on Amazon Linux 2, 2012.03, 2023
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install dnf-plugins-core sudo dnf config-manager --enable getpagespeed-extras-mainline sudo dnf -y install nginx-devel
nginx-devel: Free to install; commercial production use requires a subscription. Without one, a small license notice appears on HTML pages after 30 days.
Subscribe — from $10/moFrequently asked questions
How do I install nginx-devel on Amazon Linux?
Add the GetPageSpeed repository, then install the nginx-devel package with your system package manager.
Which Amazon Linux versions is nginx-devel available for?
nginx-devel is available for Amazon Linux 2, 2012.03, 2023.