Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] How do I uninstall a source installation? #214

Open
lofidevops opened this issue Oct 23, 2017 · 0 comments
Open

[docs] How do I uninstall a source installation? #214

lofidevops opened this issue Oct 23, 2017 · 0 comments

Comments

@lofidevops
Copy link

User story: I have installed RabbitVCS from source (python setup.py install --install-layout=deb) but now I want to install my distro package. How do I uninstall the source version?

Reinstall your source version as follows:

sudo python setup.py install --install-layout=deb --record=rabbitvcs_installation.txt
# this re-performs the installation, this time recording all created files

Now remove the installed files as follows:

sudo rm $(cat rabbitvcs_installation.txt)

Now manually remove any plugin files, for example:

sudo rm /usr/share/nautilus-python/extensions/RabbitVCS.py

You can now install your packaged version (apt install rabbitvcs-nautilus or equivalent)

Reference: https://stackoverflow.com/q/1550226/236081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant