# Libcurl error when adding new package with Julia 1.9.2 Linux System

**URL:** <https://discourse.julialang.org/t/libcurl-error-when-adding-new-package-with-julia-1-9-2-linux-system/101755>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 18, 2023, 10:52pm UTC](https://discourse.julialang.org/t/libcurl-error-when-adding-new-package-with-julia-1-9-2-linux-system/101755 "2023-07-18T22:52:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freya\_the\_Goddess](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/freya_the_goddess/32/36835_2.png) [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Post date:** [July 18, 2023, 10:52pm UTC](https://discourse.julialang.org/t/libcurl-error-when-adding-new-package-with-julia-1-9-2-linux-system/101755/1 "2023-07-18T22:52:42Z")

</div>

Hi all,

so I delete `.julia` directory from old Julia -1.7.3 then I download Julia 1.9.2 and set the path to this new Julia, but then when I try to add a new package this error happens

 ![error](https://global.discourse-cdn.com/julialang/original/3X/1/0/101a5540833129ac4267b447ada3c01eb43808dc.png)

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [July 18, 2023, 10:55pm UTC](https://discourse.julialang.org/t/libcurl-error-when-adding-new-package-with-julia-1-9-2-linux-system/101755/2 "2023-07-18T22:55:58Z")

</div>

Do as said in the message, then report back?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [July 19, 2023, 3:48am UTC](https://discourse.julialang.org/t/libcurl-error-when-adding-new-package-with-julia-1-9-2-linux-system/101755/3 "2023-07-19T03:48:10Z")

</div>

Does `env -u LD_LIBRARY_PATH julia` help?

---

<div class="post-metadata">

**Author:** ![Freya\_the\_Goddess](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/freya_the_goddess/32/36835_2.png) [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Post date:** [July 19, 2023, 5:29am UTC](https://discourse.julialang.org/t/libcurl-error-when-adding-new-package-with-julia-1-9-2-linux-system/101755/4 "2023-07-19T05:29:59Z")

</div>

Yes, thanks. You seem like an expert in UNIX and LINUX. This command will be very useful.

 ![Capture d’écran_2023-07-19_12-28-37](https://global.discourse-cdn.com/julialang/original/3X/8/b/8b50e39a541067730d5ced76c7c2cf2e8e0bf889.png)

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [July 19, 2023, 8:31am UTC](https://discourse.julialang.org/t/libcurl-error-when-adding-new-package-with-julia-1-9-2-linux-system/101755/5 "2023-07-19T08:31:19Z")

</div>

It would be prudent to find out why `LD_LIBRARY_PATH` is set in the first place.
