How to Install and Uninstall nginx-core Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 19,2024

1. Install "nginx-core" package

In this section, we are going to explain the necessary steps to install nginx-core on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install nginx-core

2. Uninstall "nginx-core" package

Please follow the instructions below to uninstall nginx-core on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove nginx-core $ sudo apt autoclean && sudo apt autoremove

3. Information about the nginx-core package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: nginx-core
Architecture: amd64
Version: 1.10.3-0ubuntu0.16.04.5
Priority: optional
Section: httpd
Source: nginx
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Kartik Mistry
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1246
Provides: httpd, httpd-cgi, nginx
Depends: nginx-common (= 1.10.3-0ubuntu0.16.04.5), libc6 (>= 2.14), libgd3 (>= 2.1.0~alpha~), libgeoip1, libpcre3, libssl1.0.0 (>= 1.0.2~beta3), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.1.4)
Suggests: nginx-doc (= 1.10.3-0ubuntu0.16.04.5)
Conflicts: nginx-extras, nginx-full, nginx-light
Breaks: nginx (<< 1.4.5-1)
Filename: pool/main/n/nginx/nginx-core_1.10.3-0ubuntu0.16.04.5_amd64.deb
Size: 429480
MD5sum: cd2a7af6b818a6af210d9570d912f0af
SHA1: 977452f7bb5cffc97594c48794f036592c692182
SHA256: a5e76f91024e05080ab58f676fff3daef78a1cf28d7ad324387d90176da398a7
SHA512: d8b40f2eb46fe58aed495cfb982d66c013822e5ae56bcb3d15fb873153828b70753b2cbfdbafd073ecb180c75b8cad1b3362d0e6fbbe66abb272b0c13d1032dd
Homepage: http://nginx.net
Description-en: nginx web/proxy server (core version)
Nginx ("engine X") is a high-performance web and reverse proxy server
created by Igor Sysoev. It can be used both as a standalone web server
and as a proxy to reduce the load on back-end HTTP or mail servers.
.
This package provides a version of nginx with the complete set of
standard modules included (but omitting some of those included in
nginx-extras).
.
STANDARD HTTP MODULES: Core, Access, Auth Basic, Auto Index, Browser, Empty
GIF, FastCGI, Geo, Limit Connections, Limit Requests, Map, Memcached, Proxy,
Referer, Rewrite, SCGI, Split Clients, UWSGI.
.
OPTIONAL HTTP MODULES: Addition, Auth Request, Charset, WebDAV, GeoIP, Gunzip,
Gzip, Gzip Precompression, Headers, HTTP/2, Image Filter, Index, Log, Real IP,
SSI, SSL, Stream, Stub Status, Substitution, Thread Pool, Upstream, User ID,
XSLT.
.
MAIL MODULES: Mail Core, Auth HTTP, Proxy, SSL, IMAP, POP3, SMTP.
.
NOTE: This is identical to the -full build, but without any third party
modules built in.
Description-md5: f8b712eff241e9eb2de6304a09935c7a
Supported: 5y

Package: nginx-core
Priority: optional
Section: httpd
Installed-Size: 1244
Maintainer: Ubuntu Developers
Original-Maintainer: Kartik Mistry
Architecture: amd64
Source: nginx
Version: 1.9.15-0ubuntu1
Provides: httpd, httpd-cgi, nginx
Depends: nginx-common (= 1.9.15-0ubuntu1), libc6 (>= 2.14), libgd3 (>= 2.1.0~alpha~), libgeoip1, libpcre3, libssl1.0.0 (>= 1.0.2~beta3), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.1.4)
Suggests: nginx-doc (= 1.9.15-0ubuntu1)
Conflicts: nginx-extras, nginx-full, nginx-light
Breaks: nginx (<< 1.4.5-1)
Filename: pool/main/n/nginx/nginx-core_1.9.15-0ubuntu1_amd64.deb
Size: 428216
MD5sum: e4649de75bf3cecd6f25e183ab16e83b
SHA1: f16947e38599081be4b161cbee1ef251f17cee4d
SHA256: 15dab383f1b0b7da3fa263a68eb4795692e7574b6ed1f37280581774e81f4f07
Description-en: nginx web/proxy server (core version)
Nginx ("engine X") is a high-performance web and reverse proxy server
created by Igor Sysoev. It can be used both as a standalone web server
and as a proxy to reduce the load on back-end HTTP or mail servers.
.
This package provides a version of nginx with the complete set of
standard modules included (but omitting some of those included in
nginx-extras).
.
STANDARD HTTP MODULES: Core, Access, Auth Basic, Auto Index, Browser, Empty
GIF, FastCGI, Geo, Limit Connections, Limit Requests, Map, Memcached, Proxy,
Referer, Rewrite, SCGI, Split Clients, UWSGI.
.
OPTIONAL HTTP MODULES: Addition, Auth Request, Charset, WebDAV, GeoIP, Gunzip,
Gzip, Gzip Precompression, Headers, HTTP/2, Image Filter, Index, Log, Real IP,
SSI, SSL, Stream, Stub Status, Substitution, Thread Pool, Upstream, User ID,
XSLT.
.
MAIL MODULES: Mail Core, Auth HTTP, Proxy, SSL, IMAP, POP3, SMTP.
.
NOTE: This is identical to the -full build, but without any third party
modules built in.
Description-md5: f8b712eff241e9eb2de6304a09935c7a
Homepage: http://nginx.net
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y