ejabberd - Comments for "upgrade on linux redhat" https://www.ejabberd.im/node/3073 en How to uninstall completely https://www.ejabberd.im/node/3073#comment-53225 <div class="quote-msg"> <div class="quote-author"><em>Ted</em> wrote:</div> <p>How do I uninstall ejabberd that was built and installed from source on linux redhat?<br /> I think I should write "make uninstall" but in what path?</p></div> <p>In the src/ directory. I tried this (I got root privileges using 'sudo', maybe you don't need that):</p> <pre>$ cd ejabberd/src $ make making all in mod_irc make[1]: se ingresa al directorio `/git/ejabberd/src/mod_irc' make[1]: No se hace nada para `all'. make[1]: se sale del directorio `/git/ejabberd/src/stringprep' ... $ sudo make install [sudo] password for badlop: making all in mod_irc make[1]: se ingresa al directorio `/git/ejabberd/src/mod_irc' make[1]: No se hace nada para `all'. make[1]: se sale del directorio `/git/ejabberd/src/stringprep' ... install -d //var/lib/ejabberd/ebin install -m 644 *.beam //var/lib/ejabberd/ebin rm -f //var/lib/ejabberd/ebin/configure.beam install -m 644 *.app //var/lib/ejabberd/ebin install -d //var/lib/ejabberd/priv/lib install -d //var/lib/ejabberd/priv/bin install -m 644 *.so //var/lib/ejabberd/priv/lib install -d //var/lib/ejabberd/priv/msgs install -m 644 msgs/*.msg //var/lib/ejabberd/priv/msgs install -d //etc/ejabberd [ -f //etc/ejabberd/ejabberd.cfg ] &amp;&amp; install -b -m 644 ejabberd.cfg.example //etc/ejabberd/ejabberd.cfg-new || install -b -m 644 ejabberd.cfg.example //etc/ejabberd/ejabberd.cfg sed -e "s*@rootdir@*/*" ejabberdctl.template &gt; ejabberdctl.example [ -f //etc/ejabberd/ejabberdctl.cfg ] &amp;&amp; install -b -m 644 ejabberdctl.cfg.example //etc/ejabberd/ejabberdctl.cfg-new || install -b -m 644 ejabberdctl.cfg.example //etc/ejabberd/ejabberdctl.cfg install -b -m 644 inetrc //etc/ejabberd/inetrc install -d //sbin install -m 755 ejabberdctl.example //sbin/ejabberdctl install -d //var/log/ejabberd $ sudo make uninstall rm -rf //var/lib/ejabberd/ebin rm -rf //var/lib/ejabberd/priv/lib rm -rf //var/lib/ejabberd/priv/msgs rm -rf //var/lib/ejabberd/priv rm -rf //sbin/ejabberdctl </pre><div class="quote-msg"> <div class="quote-author"><em>Ted</em> wrote:</div> <p>Is there an option to uninstall completely?</p></div> <p>Yes: </p> <pre>$ make uninstall-all</pre><p>I don't show you an example because it would delete my config file and database :)</p> <div class="quote-msg"> <div class="quote-author"><em>Ted</em> wrote:</div> <p>How do I uninstall ejabberd that was installed using the binary installer on linux redhat?<br /> I have tried to run ./uninstall in the opt/ejabberd-2.0.0 folder.</p></div> <p>Yes, that's correct.</p> <div class="quote-msg"> <div class="quote-author"><em>Ted</em> wrote:</div> <p>When I installed ejabberd-2.0.1 binary it somehow remembers the users that where registered on the previous ejabberd.<br /> Do I need to do something elese to completly uninstall it?</p></div> <p>The uninstaller included in the binary installer does not remove the directories database/ and logs/<br /> You probably want to delete those directories manually after using the uninstaller.</p> Sun, 01 Jun 2008 21:49:00 +0000 mfoss comment 53225 at https://www.ejabberd.im