Go to the path where you have downloaded the tar file on nginx. we  have downloaded that file in the below path.

cd /usr/local/src

Go inside nginx folder

cd publicnginx

run the below command to unsinstall it.

./nginxinstaller uninstall

Vishwajit Kale

Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostdens, a company that aims to provide reliable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.