# Pkg on Julia 0.3.12

**URL:** <https://discourse.julialang.org/t/pkg-on-julia-0-3-12/117977>\
**Category:** New to Julia\
**Tags:** question, package, pkg, github\
**Created:** [August 8, 2024, 9:04pm UTC](https://discourse.julialang.org/t/pkg-on-julia-0-3-12/117977 "2024-08-08T21:04:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laura\_Maria\_Eslava](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laura_maria_eslava/32/211190_2.png) [@Laura\_Maria\_Eslava](https://discourse.julialang.org/u/Laura_Maria_Eslava)\
**Post date:** [August 8, 2024, 9:04pm UTC](https://discourse.julialang.org/t/pkg-on-julia-0-3-12/117977/1 "2024-08-08T21:04:00Z")

</div>

Hey, I need to use Julia package Phylonetworks, it says it’s supported for Julia versions 0.3.X and not tested on 0.4 or above, thus why I need to use the ANCIENT version (I know it’s not ideal but the package won’t install on the newer version either for some reason), this is the error I get:

**Pkg.clone (“Phylonetworks”)**  
**INFO: Initializing package repository C:\Users\lmari.julia\v0.3**  
**INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl**  
**fatal: unable to connect to [github.com](http://github.com):**  
**[github.com](http://github.com)[0: 20.201.28.151]: errno=No such file or directory**

**ERROR: failed process: Process(`git clone -q -b metadata-v2 git://github.com/JuliaLang/METADATA.jl METADATA`, ProcessExited(128)) [128]**  
\*\* in error at error.jl:22 (repeats 2 times)\*\*

I figured out the error is likely because it’s trying to clone METADATA from git with the git:// but that one no longer works (I believe it was taken down and now works with https:// or ssh:// only) is there any way to change that so it downloads METADATA from the correct source and can proceed to download the Phylonetworks package?

I saw there is also a way to download everything into my pc so it doesn’t have to connect with github but I’m new to Julia so I don’t know how to do that

Please please help

---

<div class="post-metadata">

**Author:** ![sefffal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sefffal/32/23640_2.png) [@sefffal](https://discourse.julialang.org/u/sefffal)\
**Post date:** [August 8, 2024, 9:15pm UTC](https://discourse.julialang.org/t/pkg-on-julia-0-3-12/117977/2 "2024-08-08T21:15:48Z")

</div>

> [@Laura\_Maria\_Eslava](#):
>
> Phylonetworks

Could you possibly use a newer version of the package? ~~It appears to support up to Julia 1.7:~~

> **[GitHub - JuliaPhylo/PhyloNetworks.jl: A Julia package for statistical inference, data...](https://github.com/JuliaPhylo/PhyloNetworks.jl)**
>
> A Julia package for statistical inference, data manipulation and visualization of phylogenetic networks

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [August 9, 2024, 9:41am UTC](https://discourse.julialang.org/t/pkg-on-julia-0-3-12/117977/3 "2024-08-09T09:41:23Z")

</div>

> [@sefffal](#):
>
> It appears to support up to Julia 1.7

If you’re referring to

> <https://github.com/JuliaPhylo/PhyloNetworks.jl/blob/e27d4c86784aa356567d82036e2d42889d2a7138/Project.toml#L45>

that effectively means “any version in the 1.x series, from 1.1 on”, and is equivalent to just `"1.1"`.

---

<div class="post-metadata">

**Author:** ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Post date:** [August 9, 2024, 10:04am UTC](https://discourse.julialang.org/t/pkg-on-julia-0-3-12/117977/4 "2024-08-09T10:04:31Z")

</div>

Welcome to Julia! Since you are new, just to make it clear, this should be all you need to do:

- launch `julia`
- hit `]` to enter `pkg>` mode
- type `add PhyloNetworks`

Done. I tested and this works on the current Julia release.

While this is simple, it’s often better to do this for a specific project environment. To learn about this and other good practices, a good resource is [https://modernjuliaworkflows.org/](https://modernjuliaworkflows.org/)
