# Install julia packages on cluster, presumably behind a proxy

**URL:** https://discourse.julialang.org/t/install-julia-packages-on-cluster-presumably-behind-a-proxy/41226
**Category:** General Usage
**Tags:** pkg
**Created:** [June 11, 2020, 7:54pm UTC](https://discourse.julialang.org/t/install-julia-packages-on-cluster-presumably-behind-a-proxy/41226 "2020-06-11T19:54:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nabla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nabla/32/26089_2.png) [@nabla](https://discourse.julialang.org/u/nabla)
#### Post date: [June 11, 2020, 7:54pm UTC](https://discourse.julialang.org/t/install-julia-packages-on-cluster-presumably-behind-a-proxy/41226/1 "2020-06-11T19:54:09Z")

</div>

I had no trouble installing Julia on my laptop / office computer etc., but I’m trying to set it up on the front of a cluster, and on a completely fresh download of 1.4.2 (curl [https://julialang-s3.julialang.org/bin/linux/x64/1.4/julia-1.4.2-linux-x86\_64.tar.gz](https://julialang-s3.julialang.org/bin/linux/x64/1.4/julia-1.4.2-linux-x86_64.tar.gz) | tar xfz -) I get

```julia
% ./julia
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.4.2 (2020-05-23)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

(@v1.4) pkg> add MPI
    Cloning default registries into `~/.julia`
    Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:Net, unrecognized URL prefix)

```

I suspect that there’s a proxy lurking somewhere preventing me from accessing the packages: for example, trying

```julia
% wget https://github.com/JuliaRegistries/General.git
--2020-06-11 21:49:11-- https://github.com/JuliaRegistries/General.git
Resolving filter-proxy.xxx.xxx.xx (filter-proxy.xxx.xxx.xx)... 111.77.6.113
Connecting to filter-proxy.xxx.xxx.xx (filter-proxy.xxx.xx.xx)|111.77.6.113|:3127... connected.

```

However, none of the environment variables settings I tried (HTTP\_PROXY, HTTPS\_PROXY) worked, nor did ‘git config --global https.proxy’ or ‘git config --global http.proxy’. Note also that ‘git clone [GitHub - JuliaRegistries/General: The official registry of general Julia packages](https://github.com/JuliaRegistries/General.git)’ works fine.

In summary, I’m quite stuck as to how to make Pkg access the repositories.
