How to remove nginx?


#1

I think I use the correct commands but fail:

pronan:~/openresty-1.9.15.1 $ sudo apt-get purge nginx                                                                                                           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  nginx*
0 upgraded, 0 newly installed, 1 to remove and 56 not upgraded.
After this operation, 95.2 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 74754 files and directories currently installed.)
Removing nginx (1.4.6-1ubuntu3.5) ...
pronan:~/openresty-1.9.15.1 $ nginx -v
nginx version: nginx/1.4.6 (Ubuntu)
pronan:~/openresty-1.9.15.1 $ whereis nginx
nginx: /usr/sbin/nginx /etc/nginx /usr/share/nginx /usr/share/man/man1/nginx.1.gz
pronan:~/openresty-1.9.15.1 $