# How to install Julia on Ubuntu without root privileges?

**URL:** https://discourse.julialang.org/t/how-to-install-julia-on-ubuntu-without-root-privileges/72862
**Category:** New to Julia
**Created:** [December 9, 2021, 9:25pm UTC](https://discourse.julialang.org/t/how-to-install-julia-on-ubuntu-without-root-privileges/72862 "2021-12-09T21:25:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Nova](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@Nova](https://discourse.julialang.org/u/Nova)
#### Post date: [December 9, 2021, 9:25pm UTC](https://discourse.julialang.org/t/how-to-install-julia-on-ubuntu-without-root-privileges/72862/1 "2021-12-09T21:25:44Z")

</div>

I’m new to Julia and Linux and I need to install Julia on an Ubuntu server that I access with ssh.  
How can I do that without asking for administrative privileges?

---

<div class="post-metadata">

### Author: ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)
#### Post date: [December 9, 2021, 9:35pm UTC](https://discourse.julialang.org/t/how-to-install-julia-on-ubuntu-without-root-privileges/72862/2 "2021-12-09T21:35:50Z")

</div>

Download it and run it. Julia doesn’t need to be installed. If you want, you can add it to your path.

---

<div class="post-metadata">

### Author: ![John\_Gibson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/john_gibson/32/5321_2.png) [@John\_Gibson](https://discourse.julialang.org/u/John_Gibson)
#### Post date: [December 9, 2021, 9:51pm UTC](https://discourse.julialang.org/t/how-to-install-julia-on-ubuntu-without-root-privileges/72862/3 "2021-12-09T21:51:47Z")

</div>

Download the tarball from [julialang.org](http://julialang.org), then unpack it with tar into a directory of your choice. Then you can call the executable directly by path, or add the path to your PATH environment variable. For example,

```julia
gibson@sophist$ pwd
/home/gibson/tmp

gibson@sophist$ wget https://julialang-s3.julialang.org/bin/linux/x64/1.7/julia-1.7.0-linux-x86_64.tar.gz
--2021-12-09 16:49:37-- https://julialang-s3.julialang.org/bin/linux/x64/1.7/julia-1.7.0-linux-x86_64.tar.gz
Resolving julialang-s3.julialang.org (julialang-s3.julialang.org)... 151.101.130.49, 151.101.194.49, 151.101.2.49, ...
Connecting to julialang-s3.julialang.org (julialang-s3.julialang.org)|151.101.130.49|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 123309942 (118M) [application/x-tar]
Saving to: ‘julia-1.7.0-linux-x86_64.tar.gz’

julia-1.7.0-linux-x86_64.tar.gz 100%[======================================================================>] 117.60M 8.57MB/s in 12s     

2021-12-09 16:49:49 (10.1 MB/s) - ‘julia-1.7.0-linux-x86_64.tar.gz’ saved [123309942/123309942]

gibson@sophist$ tar xfpz julia-1.7.0-linux-x86_64.tar.gz 

gibson@sophist$ ./julia-1.7.0/bin/julia 
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.7.0 (2021-11-30)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

julia> 2+3
5

```

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [December 9, 2021, 10:29pm UTC](https://discourse.julialang.org/t/how-to-install-julia-on-ubuntu-without-root-privileges/72862/4 "2021-12-09T22:29:18Z")

</div>

Or use the following one-liner:

```julia
bash -ci "$(curl -fsSL https://raw.githubusercontent.com/abelsiqueira/jill/master/jill.sh)"

```

So much easier than on Windows… 🙂

---

<div class="post-metadata">

### Author: ![lawless-m](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lawless-m/32/30869_2.png) [@lawless-m](https://discourse.julialang.org/u/lawless-m)
#### Post date: [December 10, 2021, 9:28am UTC](https://discourse.julialang.org/t/how-to-install-julia-on-ubuntu-without-root-privileges/72862/5 "2021-12-10T09:28:00Z")

</div>

click url, click ok, click “extract all”, click “browse”, click ok, click “Next”, double click “Julia 1.7.0”, double click “bin”, double click “julia.exe”, be at julia\>

absolutely no flags to remember

I’ve been using Linux / BSD since the 90s and that one-liner shows the world _exactly_ why Rob Pike said “Not only is UNIX dead, it’s starting to smell really bad.” in 1991 !

And while I’m on it …

Here we are on Julia and our Distributed Architecture is based on ssh

“when ssh is the foundation of your security architecture, you know things aren’t working as they should”

Rob Pike - 2004 [Rob Pike Responds - Slashdot](https://interviews.slashdot.org/story/04/10/18/1153211/rob-pike-responds)

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [December 10, 2021, 1:09pm UTC](https://discourse.julialang.org/t/how-to-install-julia-on-ubuntu-without-root-privileges/72862/6 "2021-12-10T13:09:09Z")

</div>

Well, if I have to explain other people how to do something, providing a command line or even a couple of them is so much easier than providing screenshots as you have to do it if you have to document a process for Windows…

---

<div class="post-metadata">

### Author: ![lawless-m](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lawless-m/32/30869_2.png) [@lawless-m](https://discourse.julialang.org/u/lawless-m)
#### Post date: [December 10, 2021, 1:11pm UTC](https://discourse.julialang.org/t/how-to-install-julia-on-ubuntu-without-root-privileges/72862/7 "2021-12-10T13:11:53Z")

</div>

for a small subset of possible tasks
