# Pkg(3) Tutorial

**URL:** <https://discourse.julialang.org/t/pkg-3-tutorial/11249>\
**Category:** General Usage\
**Created:** [May 29, 2018, 7:34pm UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249 "2018-05-29T19:34:39Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [May 29, 2018, 7:34pm UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/1 "2018-05-29T19:34:39Z")

</div>

I know that up to now it probably wasn’t a priority, but it would be nice to have a simple tutorial for the package manager. I’ve seen a few discussions of its use so far, but it seems that a newbie would have a hard time of picking this up just from the documentation. Are there some simple examples? How to set up the dependency trees and so on…

---

<div class="post-metadata">

**Author:** ![miguelraz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/miguelraz/32/631_2.png) [@miguelraz](https://discourse.julialang.org/u/miguelraz)\
**Post date:** [May 29, 2018, 7:41pm UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/2 "2018-05-29T19:41:42Z")

</div>

The docs on Code Loading (Pkg3) have stellar examples  
[https://docs.julialang.org/en/latest/manual/code-loading.html](https://docs.julialang.org/en/latest/manual/code-loading.html)

---

<div class="post-metadata">

**Author:** ![ExpandingMan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/expandingman/32/866_2.png) [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Post date:** [May 29, 2018, 7:49pm UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/3 "2018-05-29T19:49:27Z")

</div>

Yeah, they are clearly working on [documentation](https://docs.julialang.org/en/latest/stdlib/Pkg.html) and know that it’s needs completing… so I didn’t want to pester them about that. Didn’t stop me from asking them 2 dozen questions though 😆

---

<div class="post-metadata">

**Author:** ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Post date:** [May 30, 2018, 12:48am UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/4 "2018-05-30T00:48:02Z")

</div>

That link is broken.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [May 30, 2018, 4:25am UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/5 "2018-05-30T04:25:04Z")

</div>

There’s something weird and inconsistent going on with how URLs are formatted for different people. It’s really perplexing and annoying: the URLs that some people get in the doc system are broken for other people and vice versa. One of these should hopefully work for everyone:

[https://docs.julialang.org/en/latest/stdlib/Pkg](https://docs.julialang.org/en/latest/stdlib/Pkg)  
[https://docs.julialang.org/en/latest/stdlib/Pkg/](https://docs.julialang.org/en/latest/stdlib/Pkg/)  
[https://docs.julialang.org/en/latest/stdlib/Pkg.html](https://docs.julialang.org/en/latest/stdlib/Pkg.html)

---

<div class="post-metadata">

**Author:** ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Post date:** [May 30, 2018, 7:30am UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/6 "2018-05-30T07:30:36Z")

</div>

The first two work for me. The last one doesn’t.  
Weird.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [May 30, 2018, 7:35am UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/7 "2018-05-30T07:35:41Z")

</div>

Yeah, this has been bothering me for a while. Still have not figured out what’s going on. The last one shouldn’t work so that’s normal. The first two should for everyone.

---

<div class="post-metadata">

**Author:** ![IljaK91](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iljak91/32/44301_2.png) [@IljaK91](https://discourse.julialang.org/u/IljaK91)\
**Post date:** [May 30, 2018, 8:19am UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/8 "2018-05-30T08:19:34Z")

</div>

The first and third work for me.

---

<div class="post-metadata">

**Author:** ![jonathanBieler](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jonathanBieler](https://discourse.julialang.org/u/jonathanBieler)\
**Post date:** [May 30, 2018, 11:44am UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/9 "2018-05-30T11:44:48Z")

</div>

None work for me 🙂

I’m using Vivaldi on mac OS.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [May 30, 2018, 1:50pm UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/10 "2018-05-30T13:50:48Z")

</div>

Neither for me (Firefox on Win) but I still have the last link open in other tab from yesterday or so. I guess that if I refresh the page it will go 404 too.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [May 30, 2018, 1:54pm UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/11 "2018-05-30T13:54:10Z")

</div>

Funny, if I take for example the first link (which does not work for me in Portugal) and put it into google translator and translate from English to English, than it works.

---

<div class="post-metadata">

**Author:** ![ExpandingMan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/expandingman/32/866_2.png) [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Post date:** [May 30, 2018, 2:24pm UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/12 "2018-05-30T14:24:21Z")

</div>

I think it has something to do with when the docs get updated, which has occurred frequently lately.

Try going to the docs [homepage](https://docs.julialang.org/en/latest/index.html) switching to the 0.6 docs and then switching back to the “latest” docs. That should fix it.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [May 30, 2018, 2:46pm UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/13 "2018-05-30T14:46:13Z")

</div>

First and third work for me. Chrome on Win 10.

---

<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:** [May 30, 2018, 3:29pm UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/14 "2018-05-30T15:29:34Z")

</div>

It’s either transient or network-dependent. On the same computer, only 1 and 2 worked at home this morning, but now only 1 and 3 work on campus.

---

<div class="post-metadata">

**Author:** ![tk3369](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tk3369/32/2824_2.png) [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Post date:** [May 30, 2018, 3:34pm UTC](https://discourse.julialang.org/t/pkg-3-tutorial/11249/15 "2018-05-30T15:34:22Z")

</div>

1 and 3 work for me… on iPhone Safari 😉
