LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   how to safely uninstall awstats from a directory (http://www.linuxquestions.org/questions/linux-server-73/how-to-safely-uninstall-awstats-from-a-directory-770261/)

kitesurfa 11-19-2009 01:37 PM

how to safely uninstall awstats from a directory
 
Hi there, I tried to install awstats on my server only to find out later that it was already installed under plesk. Now the new version is interfering with the plesk version.

how should I go about uninstalling the new version that I installed?

it was installed to /usr/local/awstats/

thanks in advance for any tips!

chiragrk 11-20-2009 01:26 AM

How you uninstall largely depends on how you installed it in the first place.Did you install it using RPM/Deb or from source?
- If its from rpm/deb then you need to look at commands rpm and dpkg.
- If its from source, usually makefile have a target called uninstall, so in theory issuing command `make uninstall` would remove the installed binaries. Needless to say you need to use proper options (the ones you used to install) while doing a "make uninstall" so that proper directories are traversed while uninstalling.

In any case if its a production system and there are chances that things might break if you uninstall awstats ensure you have a backup handy.


All times are GMT -5. The time now is 07:59 AM.