How to Install and Uninstall nginx Package on Debian 10 (Buster)

Last updated: June 29,2024

1. Install "nginx" package

This tutorial shows how to install nginx on Debian 10 (Buster)

$ sudo apt update $ sudo apt install nginx

2. Uninstall "nginx" package

In this section, we are going to explain the necessary steps to uninstall nginx on Debian 10 (Buster):

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

3. Information about the nginx package on Debian 10 (Buster)

Package: nginx
Version: 1.14.2-2+deb10u4
Installed-Size: 98
Maintainer: Debian Nginx Maintainers
Architecture: all
Depends: nginx-full (<< 1.14.2-2+deb10u4.1~) | nginx-light (<< 1.14.2-2+deb10u4.1~) | nginx-extras (<< 1.14.2-2+deb10u4.1~), nginx-full (>= 1.14.2-2+deb10u4) | nginx-light (>= 1.14.2-2+deb10u4) | nginx-extras (>= 1.14.2-2+deb10u4)
Description: small, powerful, scalable web/proxy server
Description-md5: 04f6acc7fe672a4d62f4345c9addf4a7
Homepage: https://nginx.net
Tag: implemented-in::c, interface::daemon, network::server, network::service,
protocol::http, role::program, use::proxying
Section: httpd
Priority: optional
Filename: pool/main/n/nginx/nginx_1.14.2-2+deb10u4_all.deb
Size: 88476
MD5sum: e2cf88d1fa7c4e8f15f83e607be8d225
SHA256: 6ea018f8065eab0374b5ab54a708a1a202f5074259d0208faba1dd65948da800