Uninstalling Passenger Enterprise Standalone
Uninstalling Passenger Enterprise involves two steps. The first step is to remove the Passenger files. The second step is to remove any Passenger configuration from your system.
Step 1: remove the Passenger files
Removing the Passenger files depends on how you installed Passenger.
If Passenger is installed as follows... | ...then do this |
---|---|
Phusion's APT repository for Debian/Ubuntu | sudo apt-get remove -y passenger-enterprise |
Phusion's YUM repository for Red Hat/CentOS | sudo yum remove -y passenger-enterprise |
macOS + Homebrew | brew uninstall passenger |
Ruby gem | gem uninstall passenger-enterprise-server |
Source tarball | Remove the directory in which you placed the extracted Passenger files. |
Step 2: remove Passenger configuration from system
If you installed Passenger via a source tarball, then edit your shell startup file (e.g. /etc/bashrc) and ensure the Passenger bin directory is no longer in PATH.