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

How to uninstall #3

Open
lgatto opened this issue Oct 5, 2023 · 2 comments
Open

How to uninstall #3

lgatto opened this issue Oct 5, 2023 · 2 comments

Comments

@lgatto
Copy link

lgatto commented Oct 5, 2023

It would be useful to provide instructions as to how to uninstall bioc2u.

What should I do if I break my installation (see for instance #2)? These would give confidence to alpha testers.

@almahmoud
Copy link
Contributor

I'll add some documentation, but here is the gist in the meantime:

bspm::disable() would break the install.packages() link. If you want to remove the CRAN/Bioc repositories added by the script rm -rf /etc/apt/sources.list.d/cranapt.list /etc/apt/sources.list.d/cran-r.list /etc/apt/preferences.d/99cranapt /etc/apt/sources.list.d/bioc2u.list, and you may want to remove bspm lines sed -i '/bspm/d' ${RHOME}/etc/Rprofile.site or remove rm ${RHOME}/etc/Rprofile.site (depending on whether you had things added to it before). I am not sure how to advise on recovering an old R generally, as it depends on what previous installation you had. The script installs R (which I will highlight more prominently). We are building on top of r-base-core from https://cloud.r-project.org/bin/linux/ubuntu. Happy to talk over slack and try to figure out what is best for your machine

@vjcitn
Copy link

vjcitn commented Oct 5, 2023

good point, apt uninstall should do what is necessary, but could other components be disturbed? i think so. BTW I have seen the dbus related error, not clear how I got around it ... it might be appropriate to comment out part of the relevant installation script.

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

3 participants