# Updating local libraries

**URL:** <https://librepcb.discourse.group/t/updating-local-libraries/127>\
**Category:** Help\
**Created:** [August 20, 2019, 5:38pm UTC](https://librepcb.discourse.group/t/updating-local-libraries/127 "2019-08-20T17:38:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ouabache](https://avatars.discourse-cdn.com/v4/letter/o/a4c791/32.png) [@ouabache](https://librepcb.discourse.group/u/ouabache)\
**Post date:** [August 20, 2019, 5:38pm UTC](https://librepcb.discourse.group/t/updating-local-libraries/127/1 "2019-08-20T17:38:48Z")

</div>

I am trying to figure out how the manual download is supposed to work. I can download all the files from a [github.com](http://github.com) repo but it is not a clone of the repo. This means that I cannot update to pull down any future changes nor can I push any changes that I make back upstream.

If manual download used git clone instead of downloading a zip file then it would be more useful.

John Eaton

---

<div class="post-metadata">

**Author:** ![EdizonTN](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/edizontn/32/222_2.png) [@EdizonTN](https://librepcb.discourse.group/u/EdizonTN)\
**Post date:** [August 21, 2019, 5:21am UTC](https://librepcb.discourse.group/t/updating-local-libraries/127/2 "2019-08-21T05:21:53Z")

</div>

Hi John,

Do You mean integrate git functions push/pull into LibrePCB?

Ed.

---

<div class="post-metadata">

**Author:** ![ouabache](https://avatars.discourse-cdn.com/v4/letter/o/a4c791/32.png) [@ouabache](https://librepcb.discourse.group/u/ouabache)\
**Post date:** [August 21, 2019, 4:21pm UTC](https://librepcb.discourse.group/t/updating-local-libraries/127/3 "2019-08-21T16:21:36Z")

</div>

That would do it. Right now I can’t use the library manager but instead have to clone a git repo into the local library directory. Adding features like status ,add,commit and push would really be nice.

John Eaton

---

<div class="post-metadata">

**Author:** ![dbrgn](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/dbrgn/32/25_2.png) [@dbrgn](https://librepcb.discourse.group/u/dbrgn)\
**Post date:** [August 26, 2019, 6:26pm UTC](https://librepcb.discourse.group/t/updating-local-libraries/127/4 "2019-08-26T18:26:20Z")

</div>

Hi John. Right now you have to manually clone the repository to your workspace/v0.1/libraries/local/ directory.

I agree that a clone option would be nice. Potentially even a “clone as local library” option in the library manager, to make contributions easier.

---

<div class="post-metadata">

**Author:** ![ytnt](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/ytnt/32/229_2.png) [@ytnt](https://librepcb.discourse.group/u/ytnt)\
**Post date:** [December 28, 2020, 5:46am UTC](https://librepcb.discourse.group/t/updating-local-libraries/127/5 "2020-12-28T05:46:53Z")

</div>

Hi. I’m trying to synchronize a local library between two computers. I copied the library folder from workspace/v0.1/libraries/local/, however, the library won’t show up in the library manager even after refresh. I also tried to copy in the pkg, cmp, and other folders into a new local library, but they aren’t auto detected by software. There is some unique hash associated with each component, and the software seems to be keeping track of these in some master ledger that I cannot find. Please help.

---

<div class="post-metadata">

**Author:** ![Tubbles](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/tubbles/32/57_2.png) [@Tubbles](https://librepcb.discourse.group/u/Tubbles)\
**Post date:** [December 28, 2020, 12:57pm UTC](https://librepcb.discourse.group/t/updating-local-libraries/127/6 "2020-12-28T12:57:25Z")

</div>

I had the same problem recently, but somehow it was solved when the libraries was rescanned. Try scanning the libraries again and/or restarting LibrePCB, see if that might work.

I do not think there is a master ledger, but I can be wrong on that one

---

<div class="post-metadata">

**Author:** ![dbrgn](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/dbrgn/32/25_2.png) [@dbrgn](https://librepcb.discourse.group/u/dbrgn)\
**Post date:** [December 28, 2020, 1:34pm UTC](https://librepcb.discourse.group/t/updating-local-libraries/127/7 "2020-12-28T13:34:33Z")

</div>

> [@ytnt](#):
>
> however, the library won’t show up in the library manager even after refresh

Yeah, you need to restart LibrePCB after adding a new library. (Adding elements to an existing library should work after a refresh with F5.)

It’s possible that the library contains broken elements though. What OS do you use? If you run LibrePCB from the command line, you should be able to see error messages if the library is invalid (for whatever reason).
