# Installing Julia

**URL:** <https://discourse.julialang.org/t/installing-julia/18718>\
**Category:** New to Julia\
**Tags:** installation\
**Created:** [December 16, 2018, 6:45pm UTC](https://discourse.julialang.org/t/installing-julia/18718 "2018-12-16T18:45:00Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dg.aragones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dg.aragones/32/11275_2.png) [@dg.aragones](https://discourse.julialang.org/u/dg.aragones)\
**Post date:** [December 16, 2018, 6:45pm UTC](https://discourse.julialang.org/t/installing-julia/18718/1 "2018-12-16T18:45:00Z")

</div>

Hi everyone!

I’m just trying to install Julia for the first time in my laptop with Ubuntu 18.04. I’ve downloaded a SH file with JuliaPro 1.0.2.1 and I’ve tried to follow the instructions in the PDF provided in the webpage for Linux distributions. However, I don’t manage to install it. After using the instruction “chmod 777” nothing happens and I can’t set up the absolute path to the directory of installation.

Can anyone help me?

Thank you in advance for your help!

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [December 16, 2018, 7:04pm UTC](https://discourse.julialang.org/t/installing-julia/18718/2 "2018-12-16T19:04:40Z")

</div>

Welcome!

It will be easier to help you if you can be a bit more precise about exactly what you did and how it didn’t work. For example, what was the exact command you ran, what did you expect it to do, and what happened instead? Also, if you got an error message, posting the whole message will help a lot.

---

<div class="post-metadata">

**Author:** ![dg.aragones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dg.aragones/32/11275_2.png) [@dg.aragones](https://discourse.julialang.org/u/dg.aragones)\
**Post date:** [December 16, 2018, 10:48pm UTC](https://discourse.julialang.org/t/installing-julia/18718/3 "2018-12-16T22:48:49Z")

</div>

Thanks for your answer!

I ran the command:

```julia
chmod 777 '/home/david/Desktop/JuliaPro-1.0.2.1_build-441.sh'

```

And then, a window appeared: “Do you want to run ‘JuliaPro-1.0.2.1\_build-441.sh’ or to display its contents?”. I chose to run it on terminal as an executable file, but nothing happened. I’ve tried several times obtaining the same result.

I expected to be asked about the absolute path to the directory into which I’d wish to install JuliaPro, as I read in the Quickstart Guide PDF…

Any ideas of how to advance in the installation process?

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [December 17, 2018, 2:15am UTC](https://discourse.julialang.org/t/installing-julia/18718/4 "2018-12-17T02:15:42Z")

</div>

Did you double-click on that script in your file manager, perhaps? You shouldn’t need to do that.

`chmod` just _enables_ execution of a script; it doesn’t actually execute anything, so having no output from that function is expected.

You need to run the script yourself from the terminal. Just `cd` into the folder containing the script and do:

```julia
./JuliaPro-1.0.2.1.sh /home/julia/

```

replacing `/home/julia` with your desired installation location.

---

<div class="post-metadata">

**Author:** ![dg.aragones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dg.aragones/32/11275_2.png) [@dg.aragones](https://discourse.julialang.org/u/dg.aragones)\
**Post date:** [December 17, 2018, 3:58am UTC](https://discourse.julialang.org/t/installing-julia/18718/5 "2018-12-17T03:58:34Z")

</div>

Ok, I’ve tried the method but the terminal returns the following:

```julia
Invalid path or the installer doesn't have write permission to the directory specified. Installation aborted.

```

How can I set up the writing permission?

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)\
**Post date:** [December 17, 2018, 4:41am UTC](https://discourse.julialang.org/t/installing-julia/18718/6 "2018-12-17T04:41:34Z")

</div>

You should copy-paste also the command that gave you the error. Once again others need to guess what you tried. My guess is: you selected a folder where you don’t have write permission.

Try:

```bash
./JuliaPro-1.0.2.1.sh ~/juliapro

```

---

<div class="post-metadata">

**Author:** ![dg.aragones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dg.aragones/32/11275_2.png) [@dg.aragones](https://discourse.julialang.org/u/dg.aragones)\
**Post date:** [December 17, 2018, 4:49am UTC](https://discourse.julialang.org/t/installing-julia/18718/7 "2018-12-17T04:49:13Z")

</div>

I’ve tried again. Here is the complete response:

```julia
david@david-HP-620:~/Desktop$ ./JuliaPro-1.0.2.1_build-441.sh ~/juliapro
Invalid path or the installer doesn't have write permission to the directory specified. Installation aborted.
Usage: ./JuliaPro-1.0.2.1_build-441.sh <Absolute path to install>

```

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [December 17, 2018, 5:05am UTC](https://discourse.julialang.org/t/installing-julia/18718/8 "2018-12-17T05:05:14Z")

</div>

Does replacing `~/juliapro` with `/home/david/juliapro` make any difference?

The `~` character is only meaningful to your shell, not necessarily to other programs, so it may not be possible to use it here.

---

<div class="post-metadata">

**Author:** ![dg.aragones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dg.aragones/32/11275_2.png) [@dg.aragones](https://discourse.julialang.org/u/dg.aragones)\
**Post date:** [December 17, 2018, 12:13pm UTC](https://discourse.julialang.org/t/installing-julia/18718/9 "2018-12-17T12:13:21Z")

</div>

No, unfortunately, it doesn’t =(.

```julia
david@david-HP-620:~/Desktop$ ./JuliaPro-1.0.2.1_build-441.sh /home/david/juliapro
Invalid path or the installer doesn't have write permission to the directory specified. Installation aborted.
Usage: ./JuliaPro-1.0.2.1_build-441.sh <Absolute path to install>

```

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [December 17, 2018, 1:24pm UTC](https://discourse.julialang.org/t/installing-julia/18718/10 "2018-12-17T13:24:14Z")

</div>

Did you make sure that directory exists? IIRC the installer doesn’t automatically create one.

---

<div class="post-metadata">

**Author:** ![dg.aragones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dg.aragones/32/11275_2.png) [@dg.aragones](https://discourse.julialang.org/u/dg.aragones)\
**Post date:** [December 17, 2018, 1:51pm UTC](https://discourse.julialang.org/t/installing-julia/18718/11 "2018-12-17T13:51:45Z")

</div>

Ok, I’ve created manually the folder and it works!

Thank you all so much for your help!
