how is that done? is there any script for that?
If you are on windows, just use the installer. On OSX and linux you can use the same script you used for installing, see http://doc.rust-lang.org/book/installing-rust.html
Maybe it would be best if you created one thread with all of your questions. Also these kinds of questions seem to fit IRC better, if you dont want to wait a long time for answers.
IRC is blocked from work. I don’t mind waiting.
i figured separating the question would allow separate discussions (if
curl -L https://static.rust-lang.org/rustup.sh | sudo sh
results in bad checksum.
so i get the official binary download and run its installation script again.
But i did not t see the installation script removing anything and
rustc still worked.
--uninstall to either
install.sh will uninstall Rust.
There is an issue open to make this easier still (and to work with the OS X .pkg file) by not requiring the installer again. So after the next rust-installer upgrade uninstall will be just
/usr/local/lib/rustlib/uninstall.sh, though I’m considering whether we want to also install a script to
/usr/local/bin called e.g.
For later reference, to uninstall a software installed with an .MSI (Windows Installer) package via command prompt:
If you specify the GUID of the installation, you don’t need the original package.
rustup self uninstall
This worked fine on Windows OS.
Microsoft Windows [Version 10.0.19041.329]
(c) 2020 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>rustup self uninstall
Thanks for hacking in Rust!
This will uninstall all Rust toolchains and data, and remove
%USERPROFILE%.cargo/bin from your PATH environment variable.
Continue? (y/N) y
info: removing rustup home
info: removing cargo home
info: removing rustup binaries
info: rustup is uninstalled