In my CentOS 8 server, when I update (yum upgrade) its not finding the latest version of Nginx software. it stays on 1.14 version.

How to update the latest Nginx version?

# yum list nginx --showduplicates
Last metadata expiration check: 2:27:24 ago on Sun 20 Sep 2020 03:12:40 PM EDT.
Installed Packages
nginx.x86_64                 1:1.14.1-9.module_el8.0.0+184+e34fea82                  @AppStream
Available Packages
nginx.x86_64                 1:1.14.1-9.module_el8.0.0+184+e34fea82                  AppStream




You have the nginx:1.14 yum module enabled. To see what modules are available, run (as root or with sudo):

# yum module list nginx

To switch to the 1.16 module, run this command:

 # yum module reset nginx
 # yum module enable nginx:1.16

Read the documentation on rhel8 module streams.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.