uninstall rust linux code example Example 1: how to uninstall rust rustup self uninstall Example 2: how to uninstall rust curl https://sh.rustup.rs -sSf | sh