To uninstall a software on Debian server, run apt remove PKG_NAME Example To all installed software with specific name, run dpkg-query -l PKG_NAME Example root@lab:~# dpkg-query -l ‘nginx*’ Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-================-============-========================================================= ii nginx 1.14.2-2+deb10u3 all small, powerful, scalable web/proxy server ii nginx-common 1.14.2-2+deb10u3 all small, … Read more