Uninstalling Passenger
Relevant selection for this article:
Uninstalling Passenger involves two steps. The first step is to remove the Passenger files. The second step is to remove any Passenger configuration from your system.
Please select the relevant Passenger edition
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 |
Phusion's YUM repository for Enterprise Linux | sudo yum remove -y passenger |
macOS + Homebrew | brew uninstall passenger |
Ruby gem | gem uninstall passenger |
Source tarball |
Remove the directory in which you placed the extracted Passenger files.
This directory is the same as the one pointed to by the PassengerRoot configuration directive.
|
Step 2: remove Passenger configuration from system
Inspect all your Apache configuration files, and remove any Passenger-related configuration options.
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.