click on this <https://status.julialang.org/download/linux-arm>
(doing that should start the downloading of a prebuit-for-arm copy of
the development version of julia
usually, you would not want the development version -- here,
the alternative is to rebuild julia
and that is something you may not want to do even more than
using a development version. )
when the file finishes downloading, click the file to decompress its
contents into a directory of your choice
(if you have no preference, use the default directory it offers .. but
add (without the quotes) "/julia")
after the file expands, go into the julia directory and find the
subdirectory "bin" in that subdirectory
there should be a file named julia. That is the one to run to start
Julia.
I am not familiar with the Arm stuff -- if you have additional questions,
post them here (along with any
helpful context) and someone else is likely to continue on.
On Wednesday, August 31, 2016 at 4:49:13 PM UTC-4, Angshuman Goswami wrote:
>
> I don't know how to do this manually. can you please guide.
>
> On Wednesday, August 31, 2016 at 2:54:38 AM UTC-4, Lutfullah Tomak wrote:
>>
>> You are on an arm cpu so Conda cannot install python for you. Also, you
>> tried downloading x86 cpu linux binaries, instead try arm nightlies.
>> To get away with PyCall issues you have to manually install all
>> depencies.
>>
>> On Wednesday, August 31, 2016 at 7:53:24 AM UTC+3, Angshuman Goswami
>> wrote:
>>>
>>> When i performed build again errors cropped up.
>>>
>>> Pkg.build("PyCall")
>>> WARNING: unable to determine host cpu name.
>>> INFO: Building PyCall
>>> INFO: No system-wide Python was found; got the following error:
>>> could not spawn `/usr/local/lib/python2.7 -c "import
>>> distutils.sysconfig;
>>> print(distutils.sysconfig.get_config_var('VERSION'))"`: permission denied
>>> (EACCES)
>>> using the Python distribution in the Conda package
>>> INFO: Downloading miniconda installer ...
>>> % Total % Received % Xferd Average Speed Time Time Time
>>> Current
>>> Dload Upload Total Spent Left
>>> Speed
>>> 100 24.7M 100 24.7M 0 0 2401k 0 0:00:10 0:00:10 --:--:--
>>> 2743k
>>> INFO: Installing miniconda ...
>>> PREFIX=/home/odroid/.julia/v0.4/Conda/deps/usr
>>> installing: _cache-0.0-py27_x0 ...
>>> installing: python-2.7.11-0 ...
>>> installing: conda-env-2.4.5-py27_0 ...
>>> installing: openssl-1.0.2g-0 ...
>>> installing: pycosat-0.6.1-py27_0 ...
>>> installing: pyyaml-3.11-py27_1 ...
>>> installing: readline-6.2-2 ...
>>> installing: requests-2.9.1-py27_0 ...
>>> installing: sqlite-3.9.2-0 ...
>>> installing: tk-8.5.18-0 ...
>>> installing: yaml-0.1.6-0 ...
>>> installing: zlib-1.2.8-0 ...
>>> installing: conda-4.0.5-py27_0 ...
>>> installing: pycrypto-2.6.1-py27_0 ...
>>> installing: pip-8.1.1-py27_1 ...
>>> installing: wheel-0.29.0-py27_0 ...
>>> installing: setuptools-20.3-py27_0 ...
>>> /home/odroid/.julia/v0.4/Conda/deps/usr/installer.sh: line 288:
>>> /home/odroid/.julia/v0.4/Conda/deps/usr/pkgs/python-2.7.11-0/bin/python:
>>> cannot execute binary file: Exec format error
>>> ERROR:
>>> cannot execute native linux-32 binary, output from 'uname -a' is:
>>> Linux odroid 3.10.69 #1 SMP PREEMPT Thu Feb 12 15:22:14 BRST 2015 armv7l
>>> armv7l armv7l GNU/Linux
>>> ===============================[ ERROR: PyCall
>>> ]================================
>>>
>>> LoadError: failed process:
>>> Process(`/home/odroid/.julia/v0.4/Conda/deps/usr/installer.sh -b -f -p
>>> /home/odroid/.julia/v0.4/Conda/deps/usr`, ProcessExited(1)) [1]
>>> while loading /home/odroid/.julia/v0.4/PyCall/deps/build.jl, in
>>> expression starting on line 17
>>>
>>>
>>> ================================================================================
>>>
>>> ================================[ BUILD ERRORS
>>> ]================================
>>>
>>> WARNING: PyCall had build errors.
>>>
>>> - packages with build errors remain installed in
>>> /home/odroid/.julia/v0.4
>>> - build the package(s) and all dependencies with `Pkg.build("PyCall")`
>>> - build a single package by running its `deps/build.jl` script
>>>
>>>
>>> ================================================================================
>>>
>>>
>>> On Wednesday, August 31, 2016 at 12:08:33 AM UTC-4, Angshuman Goswami
>>> wrote:
>>>>
>>>> julia> Pkg.status()
>>>> 7 required packages:
>>>> - AmplNLWriter 0.2.2
>>>> - CoinOptServices 0.1.2
>>>> - IJulia 1.2.0
>>>> - Ipopt 0.2.4
>>>> - JuMP 0.14.0
>>>> - PyCall 1.7.1
>>>> - RobotOS 0.4.1
>>>> 19 additional packages:
>>>> - BinDeps 0.4.3
>>>> - Calculus 0.1.15
>>>> - Cbc 0.2.3
>>>> - Clp 0.2.2
>>>> - Compat 0.8.8
>>>> - Conda 0.2.3
>>>> - DataStructures 0.4.5
>>>> - ForwardDiff 0.2.4
>>>> - JSON 0.7.0
>>>> - Lazy 0.11.0
>>>> - LightXML 0.3.0
>>>> - MacroTools 0.3.2
>>>> - MathProgBase 0.5.4
>>>> - NaNMath 0.2.1
>>>> - Nettle 0.2.4
>>>> - ReverseDiffSparse 0.5.8
>>>> - SHA 0.2.1
>>>> - URIParser 0.1.6
>>>> - ZMQ 0.3.4
>>>>
>>>>
>>>> On Tuesday, August 30, 2016 at 10:58:39 PM UTC-4, Angshuman Goswami
>>>> wrote:
>>>>>
>>>>> I am running julia on a 32 bit system and I made sure the version i
>>>>> downloaded is 32 bit
>>>>>
>>>>> On Tuesday, August 30, 2016 at 10:34:25 PM UTC-4, Angshuman Goswami
>>>>> wrote:
>>>>>>
>>>>>> I did that and now I am getting this error when I type julia to run
>>>>>> in the command line
>>>>>> bash: /usr/local/bin/julia: cannot execute binary file: Exec format
>>>>>> error
>>>>>>
>>>>>>
>>>>>> On Tuesday, August 30, 2016 at 4:55:54 AM UTC-4, Kaj Wiik wrote:
>>>>>>>
>>>>>>> I have been using the third route very successfully:
>>>>>>>
>>>>>>> Download the binary from e.g.
>>>>>>>
>>>>>>> https://julialang.s3.amazonaws.com/bin/linux/x64/0.4/julia-0.4.6-linux-x86_64.tar.gz
>>>>>>> or
>>>>>>>
>>>>>>> https://s3.amazonaws.com/julialang/bin/linux/x64/0.5/julia-0.5.0-rc3-linux-x86_64.tar.gz
>>>>>>>
>>>>>>> (http://julialang.org/downloads/)
>>>>>>>
>>>>>>> cd /opt
>>>>>>>
>>>>>>> sudo tar xzvf tarball.tgz
>>>>>>> A directory like julia-2e358ce975 will be created.
>>>>>>>
>>>>>>> Then make a symlink
>>>>>>> sudo ln -s /opt/julia-2e358ce975/bin/julia /usr/local/bin
>>>>>>>
>>>>>>> That's it, very easy.
>>>>>>>
>>>>>>> Note that now you can support multiple versions by making symlinks
>>>>>>> e.g. julia-v0.5, that's not possible (or very difficult) with the deb
>>>>>>> packages.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Kaj
>>>>>>>
>>>>>>>
>>>>>>> On Tuesday, August 30, 2016 at 8:26:29 AM UTC+3, Angshuman Goswami
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> I was running Julia to run my MPC code. I needed to upgrade and
>>>>>>>> hence i deleted the folder i cloned from git hub. Now I have two
>>>>>>>> problems:
>>>>>>>>
>>>>>>>> 1) Installing julia by sudo get-apt install julia, I get the
>>>>>>>> following message:
>>>>>>>>
>>>>>>>> Reading package lists... Done
>>>>>>>> Building dependency tree
>>>>>>>> Reading state information... Done
>>>>>>>> Package julia is not available, but is referred to by another
>>>>>>>> package.
>>>>>>>> This may mean that the package is missing, has been obsoleted, or
>>>>>>>> is only available from another source
>>>>>>>>
>>>>>>>> E: Package 'julia' has no installation candidate
>>>>>>>>
>>>>>>>> 2) When I cloned the github link by git clone
>>>>>>>> https://github.com/JuliaLang/julia.git
>>>>>>>>
>>>>>>>> I tried make -j N
>>>>>>>>
>>>>>>>> it didn't work
>>>>>>>>
>>>>>>>> 3) I then used
>>>>>>>>
>>>>>>>> git pull && make
>>>>>>>>
>>>>>>>> Now Julia was updated to 0.4.7
>>>>>>>> And now I thought it will finally work.
>>>>>>>> But now when I do i) using PyCall or ii) using RobotOS
>>>>>>>> I get the following error:
>>>>>>>> julia: codegen.cpp:3155: llvm::Value* emit_expr(jl_value_t*,
>>>>>>>> jl_codectx_t*, bool, bool): Assertion `ctx->gensym_assigned.at(idx)'
>>>>>>>> failed.
>>>>>>>>
>>>>>>>> signal (6): Aborted
>>>>>>>> ERROR: LoadError: Failed to precompile PyCall to
>>>>>>>> /home/odroid/.julia/lib/v0.4/PyCall.ji
>>>>>>>> while loading /home/odroid/.julia/v0.4/RobotOS/src/RobotOS.jl, in
>>>>>>>> expression starting on line 3
>>>>>>>>
>>>>>>>> M stuck
>>>>>>>>
>>>>>>>>