Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a comment somewhere for adding rustic to PATH environment variable #9

Open
nickchomey opened this issue Mar 5, 2023 · 3 comments
Labels
good first issue Good for newcomers

Comments

@nickchomey
Copy link

I only just realized/figured out that I can add the rustic install/download path to my PATH environment variable so that you can just call rustic rather than /path/to/rustic.

So, while we wait for rustic-rs/rustic#114, I suggest just adding some instructions (or at least a comment) somewhere for adding this.

Good instructions here for adding to .bashrc and .bash_profile
https://unix.stackexchange.com/questions/26047/how-to-correctly-add-a-path-to-path

@aawsome
Copy link
Member

aawsome commented Mar 5, 2023

Another possibility is to download rustic into a path which is already present in PATH - a natural choice would be /usr/local/bin which should be in PATH for most linux distros.

Actually I could only imagine to add comment to the installation instructions in the (upcoming) docu - this is nothing rustic-specific, but applies to all executables in the system...

@nickchomey
Copy link
Author

nickchomey commented Mar 5, 2023

Well, I think its reasonable to assume that a non-insignificant amount of people don't know much about executables - we tend to just install packages and the commands just work - perhaps specifically because they get installed to a path like /usr/local/bin...

So, perhaps it could just be suggested to download it to there (I just did that and, of course, it works well)? Again, this is just in lieu of having actual installable packages

@z3cko
Copy link

z3cko commented Jul 16, 2023

Don't most people actually install via cargo and then have their packages automatically in PATH? This is how I do it on all my systems (Linux and Mac)

@simonsan simonsan transferred this issue from rustic-rs/rustic Sep 7, 2023
@simonsan simonsan added the good first issue Good for newcomers label Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

4 participants