SipUninstall

Version 12 (Adrian Georgescu, 11/10/2011 07:25 pm)

1 1 Adrian Georgescu
2 12 Adrian Georgescu
h1. Uninstall guide
3 1 Adrian Georgescu
4 1 Adrian Georgescu
5 12 Adrian Georgescu
6 12 Adrian Georgescu
7 12 Adrian Georgescu
8 12 Adrian Georgescu
h2. Clean Build Directory
9 12 Adrian Georgescu
10 12 Adrian Georgescu
11 2 Adrian Georgescu
To clean up the python-sipsimple folder used for building the software:
12 1 Adrian Georgescu
13 12 Adrian Georgescu
<pre>
14 1 Adrian Georgescu
cd python-sipsimple
15 1 Adrian Georgescu
sudo rm -rf build dist MANIFEST
16 1 Adrian Georgescu
sudo python setup.py clean --all
17 12 Adrian Georgescu
</pre>
18 1 Adrian Georgescu
19 2 Adrian Georgescu
20 12 Adrian Georgescu
h2. Manual Removal
21 12 Adrian Georgescu
22 12 Adrian Georgescu
23 11 Adrian Georgescu
To remove the software and all its dependencies that you have previously manually installed using 'sudo python setup.py install' locate your Python site-packages folder (typically /Library/Python/2.6/site-packages/ on MacOSX or /usr/lib/python2.6/site-packages/ on Linux systems) and remove the following files and folders:
24 1 Adrian Georgescu
25 12 Adrian Georgescu
<pre>
26 1 Adrian Georgescu
sudo rm -r application*
27 11 Adrian Georgescu
sudo rm -r backports*
28 1 Adrian Georgescu
sudo rm -r msrplib*
29 1 Adrian Georgescu
sudo rm -r xcaplib*
30 1 Adrian Georgescu
sudo rm -r sipclient*
31 1 Adrian Georgescu
sudo rm -r sipsimple*
32 1 Adrian Georgescu
sudo rm -r eventlet*
33 1 Adrian Georgescu
sudo rm -r /usr/share/pypjua
34 8 Adrian Georgescu
sudo rm -r /usr/share/sipclient
35 1 Adrian Georgescu
sudo rm -r /usr/local/share/sipclients/
36 1 Adrian Georgescu
sudo rm -r /usr/local/share/sipclient
37 1 Adrian Georgescu
sudo rm -r /usr/local/bin/sip_*
38 1 Adrian Georgescu
sudo rm -r /usr/local/bin/xcap_*
39 1 Adrian Georgescu
sudo rm -r /usr/local/bin/sip-*
40 10 Adrian Georgescu
sudo rm -r /usr/local/bin/xcap-*
41 12 Adrian Georgescu
</pre>
42 10 Adrian Georgescu
43 1 Adrian Georgescu
44 12 Adrian Georgescu
h2. Debian Package
45 12 Adrian Georgescu
46 12 Adrian Georgescu
47 6 Adrian Georgescu
To remove the Debian packages and their dependencies:
48 1 Adrian Georgescu
49 12 Adrian Georgescu
<pre>
50 8 Adrian Georgescu
sudo apt-get remove sipclients python-sipsimple
51 1 Adrian Georgescu
sudo apt-get autoremove
52 12 Adrian Georgescu
</pre>