Error installing rust on ubuntu

Hello. I am a beginner in rust and was trying to install rust using ubuntu on my windows but I keep on getting this error message "stable-x86_64-unknown-linux-gnu unchanged - (error reading rustc version)". How do I resolve this please?

Try to avoid cross-posting, so that you prevent people helping you from doing extra work.

As for the error, how did you install Rust? Are you aware of rustup?

(It's fine -- so long as you let everyone know about it.)

1 Like

I used Ubuntu to install rust by running the command " curl --proto '=https' --tlsv1.2 -sSf https://sh." No, I do not know about rustup

That didn't install anything. It looked like you tried to install rust up but copied it wrong:

Have a look here:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.