# Pkg API for getting UUID of another package

**URL:** <https://discourse.julialang.org/t/pkg-api-for-getting-uuid-of-another-package/15061>\
**Category:** General Usage\
**Tags:** question\
**Created:** [September 17, 2018, 11:58am UTC](https://discourse.julialang.org/t/pkg-api-for-getting-uuid-of-another-package/15061 "2018-09-17T11:58:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Evizero](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/evizero/32/10118_2.png) [@Evizero](https://discourse.julialang.org/u/Evizero)\
**Post date:** [September 17, 2018, 12:33pm UTC](https://discourse.julialang.org/t/pkg-api-for-getting-uuid-of-another-package/15061/2 "2018-09-17T12:33:43Z")

</div>

```julia
julia> using Pkg

julia> Pkg.METADATA_compatible_uuid("Distributions")
UUID("31c24e10-a181-5473-b8eb-7969acd0382f")

```

(note that I think this is just temporary until METADATA is a thing of the past)

---

_[View the full topic](https://discourse.julialang.org/t/pkg-api-for-getting-uuid-of-another-package/15061)._
