# Deregister package from local registry

**URL:** <https://discourse.julialang.org/t/deregister-package-from-local-registry/76992>\
**Category:** Package Management\
**Created:** [February 23, 2022, 9:01pm UTC](https://discourse.julialang.org/t/deregister-package-from-local-registry/76992 "2022-02-23T21:01:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonniedie](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jonniedie/32/12842_2.png) [@jonniedie](https://discourse.julialang.org/u/jonniedie)\
**Post date:** [February 23, 2022, 9:01pm UTC](https://discourse.julialang.org/t/deregister-package-from-local-registry/76992/1 "2022-02-23T21:01:02Z")

</div>

I know you can’t remove packages from the general registry (for [good reason](https://www.theregister.com/2016/03/23/npm_left_pad_chaos/)), but is it possible to remove a package from a local registry that was set up using LocalRegistry.jl?

---

<div class="post-metadata">

**Author:** ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)\
**Post date:** [February 23, 2022, 11:03pm UTC](https://discourse.julialang.org/t/deregister-package-from-local-registry/76992/2 "2022-02-23T23:03:14Z")

</div>

Yes, but I think you have to manually delete the files for the package, edit `Registry.toml`, commit and push the result.

---

<div class="post-metadata">

**Author:** ![jonniedie](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jonniedie/32/12842_2.png) [@jonniedie](https://discourse.julialang.org/u/jonniedie)\
**Post date:** [February 24, 2022, 1:12am UTC](https://discourse.julialang.org/t/deregister-package-from-local-registry/76992/3 "2022-02-24T01:12:35Z")

</div>

Okay, I figured it might be something along those lines. Thanks!

---

<div class="post-metadata">

**Author:** ![mzaffalon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mzaffalon/32/214168_2.png) [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Post date:** [March 10, 2023, 9:56am UTC](https://discourse.julialang.org/t/deregister-package-from-local-registry/76992/4 "2023-03-10T09:56:50Z")

</div>

I opened a PR [Describe how to remove a registered package by mzaffalon · Pull Request #70 · GunnarFarneback/LocalRegistry.jl · GitHub](https://github.com/GunnarFarneback/LocalRegistry.jl/pull/70). I hope you don’t mind me using your wordings.
