Skip to content

Commit c7be3cb

Browse files
Adding Amazon 2023 package manager command
1 parent d93d605 commit c7be3cb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

site/content/installation-upgrade/installation-oss.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ Before you install NGINX Agent for the first time on your system, you need to se
297297
1. Install the prerequisites:
298298

299299
```shell
300-
sudo yum install yum-utils procps
300+
sudo dnf install yum-utils procps
301301
```
302302

303303
1. To set up the yum repository for Amazon Linux 2, create the file named `/etc/yum.repos.d/nginx-agent.repo` with the following contents:
@@ -314,7 +314,7 @@ Before you install NGINX Agent for the first time on your system, you need to se
314314
1. To install `nginx-agent`, run the following command:
315315

316316
```shell
317-
sudo yum install nginx-agent
317+
sudo dnf install nginx-agent
318318
```
319319

320320
1. When prompted to accept the GPG key, verify that the fingerprint matches

site/content/installation-upgrade/installation-plus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ Before you install NGINX Agent for the first time on your system, you need to se
372372
1. Install the prerequisites:
373373

374374
```shell
375-
sudo yum install yum-utils procps ca-certificates
375+
sudo dnf install yum-utils procps ca-certificates
376376
```
377377

378378
1. To set up the yum repository for Amazon Linux 2, create the file named `/etc/yum.repos.d/nginx-agent.repo` with the following contents:
@@ -390,7 +390,7 @@ Before you install NGINX Agent for the first time on your system, you need to se
390390
1. To install `nginx-agent`, run the following command:
391391

392392
```shell
393-
sudo yum install nginx-agent
393+
sudo dnf install nginx-agent
394394
```
395395

396396
1. When prompted to accept the GPG key, verify that the fingerprint matches `573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62`, and if so, accept it.

0 commit comments

Comments
 (0)