# Error: 13 INTERNAL: Library install failed: moving extracted archive to destination dir: library not valid

**URL:** <https://forum.arduino.cc/t/error-13-internal-library-install-failed-moving-extracted-archive-to-destination-dir-library-not-valid/1343367>\
**Category:** IDE 2.x\
**Created:** [January 16, 2025, 1:53pm UTC](https://forum.arduino.cc/t/error-13-internal-library-install-failed-moving-extracted-archive-to-destination-dir-library-not-valid/1343367 "2025-01-16T13:53:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjf333388](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cjf333388/32/1124500_2.png) [@cjf333388](https://forum.arduino.cc/u/cjf333388)\
**Post date:** [January 16, 2025, 1:53pm UTC](https://forum.arduino.cc/t/error-13-internal-library-install-failed-moving-extracted-archive-to-destination-dir-library-not-valid/1343367/1 "2025-01-16T13:53:56Z")

</div>

I can't add this lib esp8266 [GitHub - esp8266/Arduino: ESP8266 core for Arduino](https://github.com/esp8266/Arduino)  
Error: 13 INTERNAL: Library install failed: moving extracted archive to destination dir: library not valid

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [January 16, 2025, 2:19pm UTC](https://forum.arduino.cc/t/error-13-internal-library-install-failed-moving-extracted-archive-to-destination-dir-library-not-valid/1343367/2 "2025-01-16T14:19:35Z")

</div>

Hi @cjf333388. The reason for the error is that it is an Arduino boards platform, not a library. The installation procedure is different for boards platforms than for libraries. You can't install a boards platform using the library installation system.

You can learn how to install the "esp8266" boards platform by reading the instructions provided in the platform's documentation:

[https://github.com/esp8266/Arduino#installing-with-boards-manager](https://github.com/esp8266/Arduino#installing-with-boards-manager)

Give it a try and then let us know if you have any questions or problems.

---

<div class="post-metadata">

**Author:** ![cjf333388](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cjf333388/32/1124500_2.png) [@cjf333388](https://forum.arduino.cc/u/cjf333388)\
**Post date:** [January 21, 2025, 5:27am UTC](https://forum.arduino.cc/t/error-13-internal-library-install-failed-moving-extracted-archive-to-destination-dir-library-not-valid/1343367/3 "2025-01-21T05:27:23Z")

</div>

Thanks for your advice @ptillisch .  
But because my internet connection had some errors(I am in China), i can't use boards manager to download this. I only can download this in github. How can i install the boards platform locally?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 20, 2025, 5:27am UTC](https://forum.arduino.cc/t/error-13-internal-library-install-failed-moving-extracted-archive-to-destination-dir-library-not-valid/1343367/4 "2025-07-20T05:27:38Z")

</div>

Closed on July 20, 2025, 5:27am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
