卸载Passenger安装的nginx

tha*_*kal 9 uninstall ruby-on-rails passenger nginx package

如何在Ubuntu 11.04上卸载作为乘客安装一部分安装的nginx?

我应该gem uninstall passenger吗?那会删除nginx吗?

这是我跑步时看到的apt-get remove:

sudo apt-get remove nginx-common nginx-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
**Package nginx-common is not installed, so not removed
Package nginx-full is not installed, so not removed**
The following packages were automatically installed and are no longer required:
  nspluginwrapper linux-headers-2.6.38-13-generic libmysqlclient-dev libaprutil1-ldap libaprutil1-dev libmysqlclient16 libdb4.8-dev libaprutil1-dbd-sqlite3
  apache2.2-bin linux-headers-2.6.38-14-generic linux-headers-2.6.38-12 linux-headers-2.6.38-13 linux-headers-2.6.38-14 mysql-common linux-headers-2.6.38-12-generic
Use 'apt-get autoremove' to remove them.
Run Code Online (Sandbox Code Playgroud)

Gaf*_*ffe 3

您很可能曾经passenger-install-nginx-module安装过它。如果运行gem uninstall passenger它也会删除依赖模块。