Bruno Anken
Bruno Anken

Reputation: 35

How do I uninstall Rust on Fedora 26?

I installed Rust on my machine via dnf following these instructions. Now I want to install Rustup, but it's unable to be installed alongside another Rust installation. So, how do I uninstall the Rust compiler so I can install Rustup?

Upvotes: 0

Views: 877

Answers (1)

Florian Weimer
Florian Weimer

Reputation: 33727

Look at the output of dnf history and find the transaction which installed Rust. Use dnf history undo NNN to undo this transaction. This will uninstall all dependencies which were installed along with Rust. You may have to do the same thing for Cargo if you installed it separately.

Upvotes: 1

Related Questions