How to Install and Uninstall nginx Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: December 23,2024
1. Install "nginx" package
This tutorial shows how to install nginx on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
nginx
Copied
2. Uninstall "nginx" package
Please follow the instructions below to uninstall nginx on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
nginx
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the nginx package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: nginx
Architecture: all
Version: 1.14.0-0ubuntu1.10
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Nginx Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43
Depends: nginx-core (<< 1.14.0-0ubuntu1.10.1~) | nginx-full (<< 1.14.0-0ubuntu1.10.1~) | nginx-light (<< 1.14.0-0ubuntu1.10.1~) | nginx-extras (<< 1.14.0-0ubuntu1.10.1~), nginx-core (>= 1.14.0-0ubuntu1.10) | nginx-full (>= 1.14.0-0ubuntu1.10) | nginx-light (>= 1.14.0-0ubuntu1.10) | nginx-extras (>= 1.14.0-0ubuntu1.10)
Filename: pool/main/n/nginx/nginx_1.14.0-0ubuntu1.10_all.deb
Size: 3596
MD5sum: 8c4b541b7c62649d67cc5bddbff03eaa
SHA1: aa36199d654c64db1672369318ba954e3e5a7fa4
SHA256: a78b0ca144e6728e3481640a810086496e1eec21e214bd63fdb2640125a8b721
SHA512: 61afa8222c8da2e58fa61a39023d61604cf2ffd5772c7e62a6a290f8b2847dbfb340b4466fef4b18b38ed4646cfc37f3846d9cd930252c6a8ddfd1595a5a15c9
Homepage: http://nginx.net
Description: small, powerful, scalable web/proxy server
Description-md5: 04f6acc7fe672a4d62f4345c9addf4a7
Supported: 5y
Package: nginx
Architecture: all
Version: 1.14.0-0ubuntu1
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Nginx Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 42
Depends: nginx-core (<< 1.14.0-0ubuntu1.1~) | nginx-full (<< 1.14.0-0ubuntu1.1~) | nginx-light (<< 1.14.0-0ubuntu1.1~) | nginx-extras (<< 1.14.0-0ubuntu1.1~), nginx-core (>= 1.14.0-0ubuntu1) | nginx-full (>= 1.14.0-0ubuntu1) | nginx-light (>= 1.14.0-0ubuntu1) | nginx-extras (>= 1.14.0-0ubuntu1)
Filename: pool/main/n/nginx/nginx_1.14.0-0ubuntu1_all.deb
Size: 3596
MD5sum: 3aeead355d9472f0258a2e73457de97c
SHA1: dfae4571698eab63e861cc3d0e29226911c9c4e0
SHA256: f85df67285d66849c0917d7edd0f9ffafa83a1bb8b76f735086217dcfa6879ad
Homepage: http://nginx.net
Description: small, powerful, scalable web/proxy server
Description-md5: 04f6acc7fe672a4d62f4345c9addf4a7
Supported: 5y
Architecture: all
Version: 1.14.0-0ubuntu1.10
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Nginx Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43
Depends: nginx-core (<< 1.14.0-0ubuntu1.10.1~) | nginx-full (<< 1.14.0-0ubuntu1.10.1~) | nginx-light (<< 1.14.0-0ubuntu1.10.1~) | nginx-extras (<< 1.14.0-0ubuntu1.10.1~), nginx-core (>= 1.14.0-0ubuntu1.10) | nginx-full (>= 1.14.0-0ubuntu1.10) | nginx-light (>= 1.14.0-0ubuntu1.10) | nginx-extras (>= 1.14.0-0ubuntu1.10)
Filename: pool/main/n/nginx/nginx_1.14.0-0ubuntu1.10_all.deb
Size: 3596
MD5sum: 8c4b541b7c62649d67cc5bddbff03eaa
SHA1: aa36199d654c64db1672369318ba954e3e5a7fa4
SHA256: a78b0ca144e6728e3481640a810086496e1eec21e214bd63fdb2640125a8b721
SHA512: 61afa8222c8da2e58fa61a39023d61604cf2ffd5772c7e62a6a290f8b2847dbfb340b4466fef4b18b38ed4646cfc37f3846d9cd930252c6a8ddfd1595a5a15c9
Homepage: http://nginx.net
Description: small, powerful, scalable web/proxy server
Description-md5: 04f6acc7fe672a4d62f4345c9addf4a7
Supported: 5y
Package: nginx
Architecture: all
Version: 1.14.0-0ubuntu1
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Nginx Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 42
Depends: nginx-core (<< 1.14.0-0ubuntu1.1~) | nginx-full (<< 1.14.0-0ubuntu1.1~) | nginx-light (<< 1.14.0-0ubuntu1.1~) | nginx-extras (<< 1.14.0-0ubuntu1.1~), nginx-core (>= 1.14.0-0ubuntu1) | nginx-full (>= 1.14.0-0ubuntu1) | nginx-light (>= 1.14.0-0ubuntu1) | nginx-extras (>= 1.14.0-0ubuntu1)
Filename: pool/main/n/nginx/nginx_1.14.0-0ubuntu1_all.deb
Size: 3596
MD5sum: 3aeead355d9472f0258a2e73457de97c
SHA1: dfae4571698eab63e861cc3d0e29226911c9c4e0
SHA256: f85df67285d66849c0917d7edd0f9ffafa83a1bb8b76f735086217dcfa6879ad
Homepage: http://nginx.net
Description: small, powerful, scalable web/proxy server
Description-md5: 04f6acc7fe672a4d62f4345c9addf4a7
Supported: 5y