Bash script for running julia from whichever directory a binary
distribution has been unpacked into (modify directory pathname to match
your setup):

julia-cbe1bee3a8/bin/julia --depwarn=no $1

Having saved this as 'j', I can run a jl program like this:
j test.jl


On Thu, Nov 19, 2015 at 10:27 PM, Forrest Curo <[email protected]>
wrote:

> Okay, the problem was that Ubuntu julia was version 4.1, properly
> installed, while Debian was 4.0 with directories in nonestandard places.
>
> Downloading & extracting the 4.1 binary to my home directory, running it
> from there as:
> julia-cbe1bee3a8/bin/julia newbox.jl
> works fine.
>
> On Wed, Nov 18, 2015 at 6:14 AM, Forrest Curo <[email protected]>
> wrote:
>
>> Following an example on another site, I see that staying with the REPL
>> and typing:
>> include("newbox.jl")
>>
>> would work (aside from needing to change a package name or two -- and
>> possibly finding some way to put in '--depwarnings=no' -- I can't be sure
>> whether that's still needed(?))
>>
>> What's gone wrong with simply running a script from the command line?
>>
>> On Tue, Nov 17, 2015 at 9:57 PM, Forrest Curo <[email protected]>
>> wrote:
>>
>>> I have the latest julia version installed on ubuntu and debian
>>> partitions on my hard drive.
>>>
>>> On the ubuntu, I can type [for example]:
>>> julia --depwarning=no newbox.jl
>>>
>>> and that file loads, runs, exits.
>>>
>>> On the debian, julia comes up in REPL mode and my file seems
>>> unrecognized. (Likewise if I stay in the REPL & try
>>> run(`newbox.jl')
>>>
>>> Something wrong with my path on the debian? I'm just bewildered!
>>>
>>
>>
>

Reply via email to