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

want to be able to run globally julia REPL #34001

Closed
risa0320 opened this issue Dec 2, 2019 · 1 comment
Closed

want to be able to run globally julia REPL #34001

risa0320 opened this issue Dec 2, 2019 · 1 comment

Comments

@risa0320
Copy link

risa0320 commented Dec 2, 2019

When installing from “Building Julia” on the TOP page of github (https://github.com/JuliaLang/julia),
  It can be started with ./julia in the repository of git cloned julia.
Julia can't be started without choosing the current location that was made when installing with binary.
It would be great for developers to be able to start from any location.
If you already have a way to make this happen, please let me know.

●try install & make

$ git clone git://github.com/JuliaLang/julia.git
$ git checkout v1.3.0
$ make
$ cd ~/.julia && ./julia
$ ./julia
              _
  _       _ _(_)_     |  Documentation: https://docs.julialang.org
 (_)     | (_) (_)    |
  _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
 | | | | | | |/ _` |  |
 | | |_| | | | (_| |  |  Version 1.3.0 (2019-11-26)
_/ |\__'_|_|_|\__'_|  |  
|__/                   |

julia> 

●except

$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.3.0 (2019-11-26)
 _/ |\__'_|_|_|\__'_|  |  
|__/                   |

julia> 

●actually

$ julia
-bash: julia: command not found
@KristofferC
Copy link
Sponsor Member

Like with any program you need to add the folder where the julia executable is to your PATH (or alternatively, make a symlink to julia into some folder that already is in PATH, like sudo ln -s /home/user/julia/julia /usr/local/bin/julia.

@Keno Keno closed this as completed Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants