# Installing DifferentialEquations on JuliaPro

**URL:** <https://discourse.julialang.org/t/installing-differentialequations-on-juliapro/20275>\
**Category:** New to Julia\
**Tags:** package, diffeq\
**Created:** [January 30, 2019, 1:24pm UTC](https://discourse.julialang.org/t/installing-differentialequations-on-juliapro/20275 "2019-01-30T13:24:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stroebel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stroebel/32/6774_2.png) [@stroebel](https://discourse.julialang.org/u/stroebel)\
**Post date:** [January 30, 2019, 1:24pm UTC](https://discourse.julialang.org/t/installing-differentialequations-on-juliapro/20275/1 "2019-01-30T13:24:19Z")

</div>

I am having trouble installing DifferentialEquations from JuliaPro on Ubuntu 18.10. I get the following build errors.

The First one is for SymEngine, it is an issue with tar not being able to unpack the necessary files. There is an issue open on their repository, but there is no fix that I could find.

> ┌ Warning: platform\_key() is deprecated, use platform\_key\_abi() from now on  
> │ caller = ip:0x0  
> └ @ Core :-1  
> [Info: JuliaTeam: redirecting [https://github.com/symengine/SymEngineBuilder/releases/download/v0.3.0-2/build\_SymEngine.v0.3.0.jl](https://github.com/symengine/SymEngineBuilder/releases/download/v0.3.0-2/build_SymEngine.v0.3.0.jl) to [https://pkg.juliacomputing.com/binary/SymEngineBuilder/v0.3.0-2/build\_SymEngine.v0.3.0.jl](https://pkg.juliacomputing.com/binary/SymEngineBuilder/v0.3.0-2/build_SymEngine.v0.3.0.jl)  
> [Info: JuliaTeam: redirecting [https://github.com/symengine/SymEngineBuilder/releases/download/v0.3.0-2/SymEngine.v0.3.0.x86\_64-linux-gnu.tar.gz](https://github.com/symengine/SymEngineBuilder/releases/download/v0.3.0-2/SymEngine.v0.3.0.x86_64-linux-gnu.tar.gz) to [https://pkg.juliacomputing.com/binary/SymEngineBuilder/v0.3.0-2/SymEngine.v0.3.0.x86\_64-linux-gnu.tar.gz](https://pkg.juliacomputing.com/binary/SymEngineBuilder/v0.3.0-2/SymEngine.v0.3.0.x86_64-linux-gnu.tar.gz)  
> ERROR: LoadError: LoadError: Could not unpack /home/gremble/.juliapro/packages/SymEngine/sh7Yz/deps/symengine-0.3/downloads/SymEngine.v0.3.0.x86\_64-linux-gnu.tar.gz into /home/gremble/.juliapro/packages/SymEngine/sh7Yz/deps/symengine-0.3  
> Stacktrace:  
> [1] error(::String) at ./error.jl:33  
> [2] #unpack#98(::Bool, ::Function, ::String, ::String) at /home/julia/worker/juliapro-release-centos7-0\_6/build/tmp\_julia/share/julia/stdlib/v1.0/BinaryProvider/src/PlatformEngines.jl:667  
> [3] #unpack at ./none:0 [inlined]  
> [4] macro expansion at ./logging.jl:320 [inlined]  
> [5] #install#133(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::Function, ::String, ::String) at /home/julia/worker/juliapro-release-centos7-0\_6/build/tmp\_julia/share/julia/stdlib/v1.0/BinaryProvider/src/Prefix.jl:319  
> [6] (::getfield(BinaryProvider, Symbol(“#kw##install”)))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./none:0  
> [7] top-level scope at string:36  
> [8] include\_string(::Module, ::String, ::String) at ./loading.jl:1008  
> [9] include\_string(::Module, ::String) at ./loading.jl:1012  
> [10] top-level scope at /home/gremble/.juliapro/packages/SymEngine/sh7Yz/deps/build.jl:31  
> [11] include at ./boot.jl:317 [inlined]  
> [12] include\_relative(::Module, ::String) at ./loading.jl:1044  
> [13] include(::Module, ::String) at ./sysimg.jl:29  
> [14] include(::String) at ./client.jl:392  
> [15] top-level scope at none:0  
> in expression starting at string:32  
> in expression starting at /home/gremble/.juliapro/packages/SymEngine/sh7Yz/deps/build.jl:21  
> tar: ./share: Cannot unlink: Directory not empty  
> tar: ./share/doc: Cannot unlink: Directory not empty  
> tar: ./include: Cannot unlink: Directory not empty  
> tar: ./manifests: Cannot unlink: Directory not empty  
> tar: ./logs: Cannot unlink: Directory not empty  
> tar: ./lib: Cannot unlink: Directory not empty  
> tar: Exiting with failure status due to previous errors

The second issue is when building RandomNumbers I get the following error. I have attempted to search for the problems online, but nothing came up.

> fatal: error thrown and no exception handler available.  
> InitError(mod=:MbedTLS, error=MethodError(f=typeof(Base.Filesystem.joinpath)(), args=(nothing, “…”, “…”, “deps”, “usr”, “lib”), world=0x00000000000067dc))  
> rec\_backtrace at /buildworker/worker/package\_linux64/build/src/stackwalk.c:94  
> record\_backtrace at /buildworker/worker/package\_linux64/build/src/task.c:246  
> jl\_throw at /buildworker/worker/package\_linux64/build/src/task.c:577  
> jl\_method\_error\_bare at /buildworker/worker/package\_linux64/build/src/gf.c:1616  
> jl\_method\_error at /buildworker/worker/package\_linux64/build/src/gf.c:1634  
> jl\_apply\_generic at /buildworker/worker/package\_linux64/build/src/gf.c:2161  
> **init** at /home/julia/worker/juliapro-release-centos7-0\_6/build/tmp\_julia/share/julia/stdlib/v1.0/MbedTLS/src/MbedTLS.jl:61  
> jfptr\_\_\_init\_\_\_7739 at /home/gremble/julia/JuliaPro-1.0.2.1/Julia/lib/julia/sys.so (unknown line)  
> jl\_apply\_generic at /buildworker/worker/package\_linux64/build/src/gf.c:2184  
> jl\_apply at /buildworker/worker/package\_linux64/build/src/julia.h:1537 [inlined]  
> jl\_module\_run\_initializer at /buildworker/worker/package\_linux64/build/src/toplevel.c:90  
> \_julia\_init at /buildworker/worker/package\_linux64/build/src/init.c:813  
> julia\_init\_\_threading at /buildworker/worker/package\_linux64/build/src/task.c:302  
> main at /buildworker/worker/package\_linux64/build/ui/repl.c:227  
> \_\_libc\_start\_main at /build/glibc-B9XfQf/glibc-2.28/csu/…/csu/libc-start.c:308  
> \_start at /home/gremble/julia/JuliaPro-1.0.2.1/Julia/bin/julia (unknown line)

I am at a bit of a loss as to how I should continue. I have tried circumventing the JuliaPro repository by directly downloading from the git repo of DifferentialEquations, but this did not seem to work either.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [January 31, 2019, 2:01am UTC](https://discourse.julialang.org/t/installing-differentialequations-on-juliapro/20275/2 "2019-01-31T02:01:55Z")

</div>

We are removing SymEngine from DifferentialEquations.jl v6.0 so that we won’t have any more issues with this. Sorry for the inconvenience. I hope that we release this in less than 2 weeks.

---

<div class="post-metadata">

**Author:** ![stroebel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stroebel/32/6774_2.png) [@stroebel](https://discourse.julialang.org/u/stroebel)\
**Post date:** [January 31, 2019, 6:39am UTC](https://discourse.julialang.org/t/installing-differentialequations-on-juliapro/20275/3 "2019-01-31T06:39:08Z")

</div>

Okay cool. Do you have anything that I can help with? I am a bit new to Julia but I am quite keen to contribute.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [January 31, 2019, 2:30pm UTC](https://discourse.julialang.org/t/installing-differentialequations-on-juliapro/20275/4 "2019-01-31T14:30:42Z")

</div>

It should work on on the branch for [trim dependencies by ChrisRackauckas · Pull Request #418 · SciML/DifferentialEquations.jl · GitHub](https://github.com/JuliaDiffEq/DifferentialEquations.jl/pull/418) , so try `]add DifferentialEquations#trim`

We have a lot going on with JuliaDiffEq and we can coach you. Just join the #diffeq-bridged channel in the Julia Slack (see [Community](https://julialang.org/community/) ) for the development discussion.

For this though, surprisingly working on a major version of DiffEq proper is probably the most difficult part since it involves syncing up a ton of different packages in a uniform manner. That said, there’s a lot that needs to be done and we can always use the help, and there are many entry points.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [February 2, 2019, 1:55pm UTC](https://discourse.julialang.org/t/installing-differentialequations-on-juliapro/20275/5 "2019-02-02T13:55:58Z")

</div>

DiffEq v6.0 no longer requires SymEngine by default so this should no longer be a problem. I would recommend going back to the standard installation with `]free DifferentialEquations`
