# Install script for Linux (for use in container)

**URL:** <https://discourse.julialang.org/t/install-script-for-linux-for-use-in-container/19301>\
**Category:** Internals & Design\
**Tags:** question\
**Created:** [January 5, 2019, 9:33am UTC](https://discourse.julialang.org/t/install-script-for-linux-for-use-in-container/19301 "2019-01-05T09:33:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 5, 2019, 9:33am UTC](https://discourse.julialang.org/t/install-script-for-linux-for-use-in-container/19301/1 "2019-01-05T09:33:34Z")

</div>

Is there a reasonably maintained shell script for Linux that downloads and extracts a specified Julia version? Something like [this script for Appveyor](https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1), but using `bash` or `sh` in a Linux setup. I am aware of the [Travis build script](https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/script/julia.rb), but that is in Ruby for use within Travis.

I would like to use this for CI in a Docker container to download a specified Julia version. If there isn’t one, I will write one, just thought I would check first.

---

<div class="post-metadata">

**Author:** ![tkf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkf/32/17635_2.png) [@tkf](https://discourse.julialang.org/u/tkf)\
**Post date:** [January 5, 2019, 10:11am UTC](https://discourse.julialang.org/t/install-script-for-linux-for-use-in-container/19301/2 "2019-01-05T10:11:28Z")

</div>

PyJulia has [https://github.com/JuliaPy/pyjulia/blob/master/ci/install-julia.sh](https://github.com/JuliaPy/pyjulia/blob/master/ci/install-julia.sh) which works well enough for setting up Julia on Travis CI.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 5, 2019, 10:16am UTC](https://discourse.julialang.org/t/install-script-for-linux-for-use-in-container/19301/3 "2019-01-05T10:16:59Z")

</div>

Great, this is just what I need. Would you be open to factoring this out to a small separate repo?

---

<div class="post-metadata">

**Author:** ![tkf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkf/32/17635_2.png) [@tkf](https://discourse.julialang.org/u/tkf)\
**Post date:** [January 5, 2019, 10:39am UTC](https://discourse.julialang.org/t/install-script-for-linux-for-use-in-container/19301/4 "2019-01-05T10:39:02Z")

</div>

Yeah, I think that’s a good idea. I wonder where’s the good place to put it. I guess I can create (say) `https://github.com/JuliaPy/install-julia` repository but I wonder if it makes sense/is possible to put it in [https://github.com/JuliaCI/](https://github.com/JuliaCI/).

(cc @stevengj)

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 5, 2019, 10:42am UTC](https://discourse.julialang.org/t/install-script-for-linux-for-use-in-container/19301/5 "2019-01-05T10:42:12Z")

</div>

I think JuliaCI would be the best home for it.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 7, 2019, 1:53pm UTC](https://discourse.julialang.org/t/install-script-for-linux-for-use-in-container/19301/6 "2019-01-07T13:53:47Z")

</div>

@tkf, I think it would be best to go ahead and create this repo, and then maybe transfer it to JuliaCI later on. Please let me know if you would prefer to do it yourself, or if I can just go ahead (I did not want to since it is your code, but I am happy to do the work).

---

<div class="post-metadata">

**Author:** ![tkf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkf/32/17635_2.png) [@tkf](https://discourse.julialang.org/u/tkf)\
**Post date:** [January 7, 2019, 5:27pm UTC](https://discourse.julialang.org/t/install-script-for-linux-for-use-in-container/19301/7 "2019-01-07T17:27:26Z")

</div>

I created a repo and opened: [Transfer this repository to JuliaCI · Issue #1 · JuliaCI/install-julia · GitHub](https://github.com/JuliaPy/install-julia/issues/1)
