Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to switch from a development version to a stable one.

I installed nginx from source with:

./configure
make
sudo make install

I tried sudo make uninstall but it doesnt work.

How can I uninstall nginx?

share|improve this question
    
Duplicate: superuser.com/questions/281920/… (can't vote to close as dupe from another site, but voting to close as off topic) –  Wooble Oct 14 '11 at 14:43
add comment

migrated from stackoverflow.com Oct 16 '11 at 17:07

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 3 down vote accepted

To uninstall:

sudo rm -f -R /usr/local/nginx && rm -f /usr/local/sbin/nginx

Source:

http://articles.slicehost.com/2007/12/3/ubuntu-gutsy-installing-nginx-from-source

share|improve this answer
add comment
cd /usr/ports/www/nginx
make deinstall
share|improve this answer
    
the OP din't say it's on a FreeBSD host –  warl0ck Nov 4 '12 at 23:56
add comment

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.