Recompilando o nginx depois de usar o apt-get install nginx

Instalei originalmente o nginx via apt-get install. Funciona muito bem. Agora, quero instalar alguns módulos de terceiros e preciso recompilar o nginx. Então, eu tentei recompilar. Ele passou pelos movimentos e então percebi que minha versão original ainda era a que estava sendo usad

Preciso desinstalar minha cópia original do nginx primeiro para que o outro seja instalado corretament

my sinalizadores para a instalação: --conf-path = / etc / nginx / nginx.conf --error-log-path = / var / log / nginx / error.log --pid-path = / var / run / nginx.pid --lock --path = / var / lock / nginx.lock --http-log-path = / var / log / nginx / access.log --http-client-body-temp-path = / var / lib / nginx / body - - http-proxy-temp-path = / var / lib / nginx / proxy --http-fastcgi-temp-path = / var / lib / nginx / fastcgi --with-debug --with-http_stub_status_module --with-http_flv_module --with-http_ssl_module --with-http_dav_module --with-http_gzip_static_module --with-http_realip_module --with-mail --with-mail_ssl_module --with-ipv6 --add-module = / usr / src / gnosek-nginx- upstream-fair-5f6a3b7 --add-module = / usr / src / mod_strip