How to Install and Uninstall nginx-core Package on Debian 11 (Bullseye)

Last updated: May 20,2024

1. Install "nginx-core" package

Learn how to install nginx-core on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install nginx-core

2. Uninstall "nginx-core" package

This guide covers the steps necessary to uninstall nginx-core on Debian 11 (Bullseye):

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

3. Information about the nginx-core package on Debian 11 (Bullseye)

Package: nginx-core
Source: nginx
Version: 1.18.0-6.1+deb11u2
Installed-Size: 1274
Maintainer: Debian Nginx Maintainers
Architecture: amd64
Replaces: nginx-full (<< 1.18.0-1)
Provides: httpd, httpd-cgi, nginx
Depends: libnginx-mod-http-geoip (= 1.18.0-6.1+deb11u2), libnginx-mod-http-image-filter (= 1.18.0-6.1+deb11u2), libnginx-mod-http-xslt-filter (= 1.18.0-6.1+deb11u2), libnginx-mod-mail (= 1.18.0-6.1+deb11u2), libnginx-mod-stream (= 1.18.0-6.1+deb11u2), libnginx-mod-stream-geoip (= 1.18.0-6.1+deb11u2), nginx-common (= 1.18.0-6.1+deb11u2), iproute2, libc6 (>= 2.28), libcrypt1 (>= 1:4.1.0), libpcre3, libssl1.1 (>= 1.1.1), zlib1g (>= 1:1.1.4)
Suggests: nginx-doc (= 1.18.0-6.1+deb11u2)
Conflicts: nginx-extras, nginx-light
Breaks: nginx (<< 1.4.5-1), nginx-full (<< 1.18.0-1)
Description: nginx web/proxy server (standard version)
Description-md5: 833f582e79cd25877205297e9c608e5b
Homepage: https://nginx.net
Section: httpd
Priority: optional
Filename: pool/main/n/nginx/nginx-core_1.18.0-6.1+deb11u2_amd64.deb
Size: 515364
MD5sum: a1229521910bbcd96b60bf03698460c8
SHA256: cde1410b13e0801d100fb5357dfdc852a57fbebcb512fe824085dd1229a194c9