Normally I would install phusion passenger via the gem command, but this wouldn’t work for me, so I had to install it via a tarball and then run the installer.
My question is, how do I uninstall it?
dpkg -l | grep passenger
doesn’t return anything. When I list the installed gems, I don’t see anything either.
So i guess I have two questions
1) If installed by tarball/installer, how to uninstall
2) If I came upon this system, how could I even tell that passenger is installed? It doesn’t seem to show up anywhere?
You should read what the Passenger documentation has to say about removal.
The only guaranteed indicator of a passenger installation is the passenger file in the apache configuration. Usually
/etc/apache2/conf.d/passenger. You must remove it, and then uninstall passenger in a method dependent on how it was installed.If installed from a gem:
If installed from a tarball:
remove the installation directory, Which is noted as the PassengerRoot directive in the aforementioned configuration file.
If installed form a deb file: