How do I uninstall Rust on Fedora 26?

时间:2017-08-13 14:03:13

标签: rust uninstall

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?

1 个答案:

答案 0 :(得分:0)

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.