How to install Julia on Ubuntu without root privileges?

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?

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

Download the tarball from, 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,

gibson@sophist$ pwd

gibson@sophist$ wget
--2021-12-09 16:49:37--
Resolving (,,, ...
Connecting to (||: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:
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.7.0 (2021-11-30)
 _/ |\__'_|_|_|\__'_|  |  Official release
|__/                   |

julia> 2+3


Or use the following one-liner:

bash -ci "$(curl -fsSL"

So much easier than on Windows… :slight_smile:

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

1 Like

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…


for a small subset of possible tasks