How to Install and Uninstall nginx Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 18,2024

1. Install "nginx" package

This guide let you learn how to install nginx on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install nginx

2. Uninstall "nginx" package

Please follow the guidelines below to uninstall nginx on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the nginx package on Ubuntu 24.04 LTS (Noble Numbat)

Package: nginx
Architecture: amd64
Version: 1.24.0-2ubuntu4
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Nginx Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1320
Provides: httpd, httpd-cgi, nginx-abi-1.24.0-1
Depends: libc6 (>= 2.34), libcrypt1 (>= 1:4.1.0), libpcre2-8-0 (>= 10.22), libssl3 (>= 3.0.0), zlib1g (>= 1:1.1.4), iproute2, nginx-common (= 1.24.0-2ubuntu4)
Breaks: nginx-core (<< 1.22.1-6~), nginx-extras (<< 1.22.1-6~), nginx-light (<< 1.22.1-6~)
Replaces: nginx-core (<< 1.22.1-6~), nginx-extras (<< 1.22.1-6~), nginx-light (<< 1.22.1-6~)
Filename: pool/main/n/nginx/nginx_1.24.0-2ubuntu4_amd64.deb
Size: 520568
MD5sum: c838da5715c2014be1a972489247dd45
SHA1: 948942209423d632dd634e65d0f7d6ac874dd041
SHA256: 2940a7e1b7cc2e1eed5ac01605052aaf3e58936f6b32200a894ea7d929545b07
SHA512: 89fd1c450e0d77af8625613d3924afa6b71d1d26326c0ad9a9f97e31fcda8e539d0c053ecb0c2481e234e4397b38831ee20f77bd4e6c926272e3dda8cd6b6033
Homepage: https://nginx.org
Description: small, powerful, scalable web/proxy server
Description-md5: cb534cf82475d3e706f730549c99229f