title: How to completely remove nginx from ubuntu 13.04?
body: <p>I know this question has been asked earlier as well and I have gone through them but it does not solve my problem.</p>
  
  <p>To remove nginx from system I executed following commands</p>
  
  <pre><code>sudo apt-get remove nginx
  
  sudo apt-get purge nginx
  </code></pre>
  
  <p>Which actually uninstalled everything but when I do <code>nginx -V</code> it still returns following ... </p>
  
  <blockquote>
    <p>nginx version: nginx/1.4.1
    built by gcc 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) 
    TLS SNI support enabled
    configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-http_spdy_module</p>
  </blockquote>
  
  <p>Also <code>ps aux | grep nginx</code> is not showing any nginx service running. </p>
  
  <p>Now I am not sure that if I have completely removed nginx or not? If not then how to remove it?</p>
  
  <p>And <code>dpkg -l | grep nginx</code> returns following ... </p>
  
  <blockquote>
    <p>ii  nginx-common                              1.2.6-1ubuntu3                         all          small, powerful, scalable web/proxy server - common files<br>
    ii  nginx-full                                1.2.6-1ubuntu3                         i386         nginx web/proxy server (standard version)</p>
  </blockquote>
  
  <p>EDIT: I installed it from the source.</p>