Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was given a server to setup, but this server was not reset, and the provider is quite slow on resetting it, so I have to completely uninstall some stuff it has, one of which is nginx.

I had a few problems when doing setup on my local machine for nginx due to multiple installations of it, so I want to avoid the same mistake now.

Problem is, I have no idea how nginx was installed here, and I need to remove it.

When I access the server through SSH I only have this folder $HOME/backups/nginx.

Any idea how to uninstall this? Whenever I google it only comes up with apt-get uninstall and so forth.

share|improve this question

1 Answer 1

Problem is, I got no idea how nginx was installed here, and I need to remove it.

Check if the package manager knows about nginx, if it does, use that package manager to uninstall it.

dpkg –l \*nginx*   # lists packages whose name contains "nginx"
dpkg -L nginx      # lists files in package "nginx"

See Sourceforge tutorial

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.