-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Uninstalling Rust downloads the whole Rust again #20283
Comments
I have a todo to include an uninstall script with the installation. |
cc #21117 |
Merged
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Feb 15, 2015
Highlights: * Adds an 'uninstall.sh' script to `/usr/local/lib/rustlib/uninstall.sh`, the path to which is printed during installation. * Components can be deselected during install, like `install.sh --without=rust-docs`. * Components can be listed with `install.sh --list-components`. * Vastly reduces spew during install (but supporting a `--verbose` option). Typicall install run looks like: ``` brian@brianX1:~/dev/multirust⟫ sudo ./install.sh [sudo] password for brian: install: creating uninstall script at /usr/local/lib/rustlib/uninstall.sh install: installing component 'rustc' install: installing component 'cargo' install: installing component 'rust-docs' Rust is ready to roll. ``` Needs to be merged right before corresponding PRs to cargo and rust-packaging. Fixes rust-lang#21117 Fixes rust-lang#20283
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the uninstall script on Mac OS X
curl -s https://static.rust-lang.org/rustup.sh | sudo sh -s -- --uninstall
downloads the while ~200MB of rust sources and then uninstalls the already installed Rust binaries.
It should NOT download the rust sources in case the uninstall option is given.
The text was updated successfully, but these errors were encountered: