# Installing IJulia for all users for JupyterHub

**URL:** <https://discourse.julialang.org/t/installing-ijulia-for-all-users-for-jupyterhub/42528>\
**Category:** General Usage\
**Tags:** jupyter, pkg\
**Created:** [July 4, 2020, 3:59pm UTC](https://discourse.julialang.org/t/installing-ijulia-for-all-users-for-jupyterhub/42528 "2020-07-04T15:59:50Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![camtheman256](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/camtheman256/32/16144_2.png) [@camtheman256](https://discourse.julialang.org/u/camtheman256)\
**Post date:** [July 4, 2020, 4:16pm UTC](https://discourse.julialang.org/t/installing-ijulia-for-all-users-for-jupyterhub/42528/3 "2020-07-04T16:16:20Z")

</div>

Ok, so I’m attempting to follow the instructions on this post ([Julia kernel on JupyterHub system-wide LDAP - #6 by barche](https://discourse.julialang.org/t/julia-kernel-on-jupyterhub-system-wide-ldap/14809/6)) and I’m running

```nohighlight
$ JULIA_DEPOT_PATH=/opt/julia-1.4.2/share/julia sudo 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 IJulia
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
   Updating `~/.julia/environments/v1.4/Project.toml`
 [no changes]
   Updating `~/.julia/environments/v1.4/Manifest.toml`
 [no changes]

```

It looks like it’s still using the local depot. How do I get it to switch to the global one?

---

_[View the full topic](https://discourse.julialang.org/t/installing-ijulia-for-all-users-for-jupyterhub/42528)._
