Update the Ubuntu repository information:

$ sudo apt-get update

Install the package:

$ sudo apt-get install nginx

Verify the installation:

$ sudo nginx -v
nginx version: nginx/1.4.6

2 responses to “Installing nginx from a Prebuilt Ubuntu Package from an Ubuntu Repository”

Leave a Reply

%d bloggers like this: