how to install the latest nginx stable 1.10.2

Hello, just created a new droplet on ubuntu 16.04 and installed nginx. but when i checked nginx version is 1.10.1 now i tried to update and upgrade everything but nginx version stays the same. how can i update my nginx to the latest stable version which is 1.10.2?


Helps my game saya .slots xstabil xde ongg

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This is because you install from repository (using apt-get). Packages are repositories are usually not updated ‘insta’ and you need to wait little bit before installing it using apt-get.

When I install nginx on new Droplet (Ubuntu 16.04) and run nginx -v:

nginx version: nginx/1.10.0 (Ubuntu)

To get around this you need to install from source. This is not straightforward as installing with apt-get but I think it’s not very hard. How To Install Nginx From Source ( Building From Source ( There is no DO tutorial for Ubuntu. I found old one for CentOS which you can read at How To Compile Nginx from Source on a CentOS 6.4 x64 VPS.

This comment has been deleted