
Description
Hello Rust people.
Today I wanted to get rust working to the point of "hello world".
So far so good. I am reading the official rust book.
It shows a command to install rust on the commandline, via a pipe.
This is also fine.
The command also works for me:
curl -sSf https://static.rust-lang.org/rustup.sh | sh
However, while I am not at all a newcomer to Linux, I am a newcomer to
Rust. I know that I will set up my system in some weeks so I may have to
do the command again. Now I am aware that I may be able to back things
up etc... but the problem is that the typical Linux way to install anything is
not the way that I tend to work. I tend to use AppDirs on GoboLinux;
without boring you with details, things will be installed into /Programs/NAME/VERSION
so in this case for Rust it will be /Programs/Rust/ (not sure which version).
I have found that I usually can not understand shell scripts so there is no
way for me to really dig into what the shell script is doing. I automate the
process of compiling from source via my own ruby scripts - a simple URL
is usually enough. Or if no URL and no tarball works, my scripts work
fine with svn, git etc... too. But shell scripts scare me.
To finish this very lengthy introduction :)
What I would like to have is that the book tutorial, which is very good by the
way, also provides an oldschool way to download rust itself via wget. For
this, some URL would be helpful.
In order for this to work, it would be nice if the book itself can provide
the URL directly:
https://doc.rust-lang.org/book/getting-started.html
Right at the part "Installing on Linux".
Note that I am writing this here BEFORE I am searching for the URL.
And most likely, some google-fu will find it anyway but it is one step
that could be given in the book itself, which would be convenient
perhaps for other linux users who, despite all the simplifications,
still are quite advanced IMO.
Feel free to close this at any time. Thanks for reading.