How to Install and Uninstall nginx Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 14,2024

1. Install "nginx" package

Please follow the steps below to install nginx on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install nginx

2. Uninstall "nginx" package

Please follow the steps below to uninstall nginx on Ubuntu 21.10 (Impish Indri):

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

3. Information about the nginx package on Ubuntu 21.10 (Impish Indri)

Package: nginx
Architecture: amd64
Version: 1.18.0-6ubuntu11
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Nginx Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 48
Depends: nginx-core (<< 1.18.0-6ubuntu11.1~) | nginx-full (<< 1.18.0-6ubuntu11.1~) | nginx-light (<< 1.18.0-6ubuntu11.1~) | nginx-extras (<< 1.18.0-6ubuntu11.1~), nginx-core (>= 1.18.0-6ubuntu11) | nginx-full (>= 1.18.0-6ubuntu11) | nginx-light (>= 1.18.0-6ubuntu11) | nginx-extras (>= 1.18.0-6ubuntu11)
Breaks: libnginx-mod-http-lua (<< 1.18.0-6ubuntu5)
Filename: pool/main/n/nginx/nginx_1.18.0-6ubuntu11_amd64.deb
Size: 3880
MD5sum: ad77bb0c476baa5291c48b183979d25d
SHA1: 6041ff82503a3fb7bd20ffe7a4c99dfa512b5d75
SHA256: f9306784e2b9eeb30ecfe4a66adcc0cf9c2db9eb4eac2a10fd4e81e920ff8b1a
SHA512: 801f86826b554b840f6b173ec84c8610b8e4f39e08caf0ba6a823393abe00921ced3d26b175cce9a8087f9f04ae6acba09a96ffcdef4cfb23f6b601b80acb83a
Homepage: https://nginx.net
Description-en: small, powerful, scalable web/proxy server
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 is a dependency package to install either nginx-core (by default),
nginx-full, nginx-light or nginx-extras.
Description-md5: 902443ddbee17249123a068e7ca7c6d8