Cokes
Cokes

Reputation: 4093

What to do with pre-compiled Linux binary of Julia?

Unfortunately, the PPA in Ubuntu lags behind the latest stable release of Julia, which I need. (I do not want nightly builds.)

I downloaded the Linux binary from here: http://julialang.org/downloads/

Now, where do I put the binary so that when I type julia in the terminal, it uses this new stable release instead of the old one?

Upvotes: 0

Views: 541

Answers (1)

Dirk is no longer here
Dirk is no longer here

Reputation: 368251

Look at what

echo $PATH

contains and place it 'earlier' than /usr/bin. Both /usr/local/bin and (if you have it) ~/bin/ are common choices.

If you don't yet have ~/bin/ then do

mkdir ~/bin
edit ~/.profile   # set PATH via, say,  PATH="$HOME/bin:$PATH"

Upvotes: 3

Related Questions