HiveBrain v1.2.0
Get Started
← Back to all entries
snippetrustCritical

How to uninstall Rust that was installed via rustup?

Submitted by: @import:stackoverflow-api··
0
Viewed 0 times
howuninstallrustupviarustthatinstalledwas

Problem

I installed Rust on my Ubuntu 16.04 machine through

curl https://sh.rustup.rs -sSf | sh


as can be seen on the Installation Page.

How do I now uninstall Rust?

Solution

To uninstall rustc, rustup and cargo from my Ubuntu 16.04 installation, I did:

rustup self uninstall


and it worked.

Context

Stack Overflow Q#52045966, score: 353

Revisions (0)

No revisions yet.