Install nginx-full on Ubuntu: sudo apt-get install nginx-full

Learn how to install nginx-full with the command sudo apt-get install nginx-full on Ubuntus.



Quick installation of nginx-full:

Step 1: Update system:

	sudo apt-get update

Step 2: Install: nginx-full

Ater updaing the OS run following command to install the packae:

	sudo apt-get install nginx-full

Package Details

Maintainer:Ubuntu Developers
Home page:
Description:nginx web server with full set of core modules Nginx (engine x) is a web server created by Igor Sysoev and kindly provided to the open-source community. This server can be used as standalone HTTP server and as a reverse proxy server before some Apache or another big server to reduce load to backend servers by many concurrent HTTP-sessions. . It can also act as a POP3/IMAP mail proxy with SSL and TLS SNI support. This package has the standard set of modules enabled. . MODULES INCLUDED: Standard HTTP Modules: Core, Access, Auth Basic, Auto Index, Browser, Charset, Empty GIF, FastCGI, Geo, Gzip, Headers, Index, Limit Requests, Limit Zone, Log, Map, Memcached, Proxy, Referer, Rewrite, SCGI, Split Clients, SSI, Upstream, User ID, UWSGI Optional HTTP Modules: Addition, Debug, GeoIP, Gzip Precompression, HTTP Sub, Image Filter, IPv6, RealIP, Stub Status, WebDAV, XSLT Mail Modules: Mail Core, IMAP, POP3, SMTP, SSL Third Party Modules: Echo, Upstream Fair Queue, DAV Ext Homepage:
Distro:Ubuntu 12.04 LTS

How to install nginx-full on Ubuntu 12.04 LTS?

First of all update your system with the command:

sudo apt-get update


Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If nginx-full is not installed on your compter then the command 'dpkg -L nginx-full' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L nginx-full
Package `nginx-full' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

Installing nginx-full:

After system update use the following command to install nginx-full:

sudo apt-get install nginx-full

Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove nginx-full from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the nginx-full from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the nginx-full following command is used:

sudo apt-get remove  nginx-full

Following command is used to remove the nginx-full package along with its dependencies:

sudo apt-get remove --auto-remove nginx-full

This will remove nginx-full and all its dependent packages which is no longer needed in the system.

Completely removing nginx-full with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge nginx-full

or you can use following command also:

sudo apt-get purge --auto-remove nginx-full

Above command will remove all the configuration files and data associated with nginx-full package. You can can't recover the delete data, so, use this command with care.