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
Not sure how to install to path? #2210
Comments
The most important thing is that you need to add the location of the Assuming that the binary is at
In order to not have to type this every time you open a new shell window, it's common to write that into your shell configuration (e.g. Let me know if you're still confused, I'll try explaining in a different way. |
I think I've actually gotten stuck before my question implies, I've downloaded the tar ball and gotten an executable that doesn't execute on clicking, is that what I should be moving to path? I didn't understand much of what you wrote, but I'll google some terms and come back to you. I assume the shell configuration is written in a hidden file? |
Ah, yeah, that makes sense. The binary doesn't work by clicking, it's one of those run-on-the-command-line things. Here are the steps you need: Make sure that you have a ~/bin directory: mkdir -p ~/bin Then move the exercism binary that you got out of the tarball into the mv ~/Desktop/exercism ~/bin/
Yeah, usually in your home directory. See what you can find with There's a video that shows the install process for mac, which is similar enough to linux that it would probably help: https://www.youtube.com/watch?v=TCT4eHGwfaE |
Thanks the video really helped (as well as explainshell.com, ha ha), thank you. |
explainshell.com is great :) |
I set up the bin folder. After reloading the session I still get the result: "me >>>exercism -v I've navigated to the bin folder through the command line and exercism is there. I'm not quite sure what error couldn't have occurred. Any help? Searches lead me to a thread on here that doesn't address the error (or at least I haven't found it). Thank you! |
|
@gitgis42o What operating system do you use? How did you download the executable? |
Katrina, I use OS X El Capitan on my Mac (Version 10.11.5). I downloaded the latest release via Github. That's when I moved the executable into the newly created bin folder. |
@gitgis42o Which one did you download? Would you try with this one just to be sure? https://github.com/exercism/cli/releases/download/v2.2.6/exercism-mac-64bit.tgz |
I ended up searching around long enough to find something that worked. I believe the file I downloaded was correct. I ended up using the commands I just submitted my hello_world.py! Thank you for writing this stuff. I'm happy to finally get this going after having it on the docket for so long. |
Yay! So glad you got it sorted, and so sorry that it was so painful getting started. |
I agree with gitgis42o - this should really be part of the installation instructions. An alternative to homebrew. |
@leorawe FYI. This discussion is two years old and that repository (and probably scripts) are deprecated and probably don't work. The walkthrough on the exercism website has instructions both with and without Brew. |
Read this http://help.exercism.io/understanding-path.html still not completely sure what I'd have to do in linux as I assume one of the PATHs written is a placeholder?
Thanks for any advice!
The text was updated successfully, but these errors were encountered: