# Problem with the installation of ROOT- Unable to locate package libtinfo6

**URL:** <https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294>\
**Category:** Newbie\
**Created:** [November 13, 2020, 5:19pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294 "2020-11-13T17:19:03Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aggelos\_T](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/aggelos_t/32/23987_2.png) [@Aggelos\_T](https://root-forum.cern.ch/u/Aggelos_T)\
**Post date:** [November 13, 2020, 5:19pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/1 "2020-11-13T17:19:03Z")

</div>

Hello! I’m trying to install ROOT in my system (Linux Mint 19.3 Cinnamon), but I have the same problem as chiara described in their [post](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673).

I tried installing both versions of ROOT ([root\_v6.22.02.Linux-ubuntu18-x86\_64-gcc7.5.tar.gz](https://root.cern/download/root_v6.22.02.Linux-ubuntu18-x86_64-gcc7.5.tar.gz) AND [root\_v6.22.00.Linux-ubuntu19-x86\_64-gcc9.2.tar.gz](https://root.cern/download/root_v6.22.00.Linux-ubuntu19-x86_64-gcc9.2.tar.gz)), but I still get the error message:

> Fatal in TROOT::InitInterpreter: cannot load library libtinfo.so.6: cannot open shared object file: No such file or directory

I also tried installing the libtinfo.so packages, but the error persists.

Maybe, the problem has to do with the installation of an incorrect version of ROOT, but I cannot find one suitable for Linux Mint 19.3.

Does anyone have any suggestions? Thank you in advance!

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [November 13, 2020, 5:30pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/2 "2020-11-13T17:30:26Z")

</div>

Hi @Aggelos_T

Did you try package for [Ubuntu 20](https://root.cern/download/root_v6.22.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz). But in general - if there is no binary package for your platform, you need to compile ROOT from source as described [here](https://root.cern/install/build_from_source/)

Regards,  
Sergey

---

<div class="post-metadata">

**Author:** ![Aggelos\_T](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/aggelos_t/32/23987_2.png) [@Aggelos\_T](https://root-forum.cern.ch/u/Aggelos_T)\
**Post date:** [November 13, 2020, 7:43pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/3 "2020-11-13T19:43:24Z")

</div>

I downloaded this version, but while unziping it this error message comes up:

> gzip: stdin: unexpected end of file  
> tar: Unexpected EOF in archive  
> tar: Unexpected EOF in archive  
> tar: Error is not recoverable: exiting now

Any ideas?

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [November 13, 2020, 7:57pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/4 "2020-11-13T19:57:14Z")

</div>

> [@Aggelos\_T](#):
>
> Any ideas?

Did you download full file?  
That is result of `sha256sum root_v6.22.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz` for you?  
Should be: `b1d12816a6e551e8b91b27d5a89685fcb8bb157ab1f5c066b9d6a2acb4d86b33`  
How you unpack file?

For me it works - at least in batch mode.

---

<div class="post-metadata">

**Author:** ![Aggelos\_T](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/aggelos_t/32/23987_2.png) [@Aggelos\_T](https://root-forum.cern.ch/u/Aggelos_T)\
**Post date:** [November 13, 2020, 8:03pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/5 "2020-11-13T20:03:32Z")

</div>

I downloaded the package using the terminal and the following commands, following the instructions [here](https://root.cern/install/).

> wget [https://root.cern/download/root\_v6.22.02.Linux-ubuntu20-x86\_64-gcc9.3.tar.gz](https://root.cern/download/root_v6.22.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz)  
> tar -xzvf root\_v6.22.02.Linux-ubuntu20-x86\_64-gcc9.3.tar.gz

And that’s when the error appeared.

I also followed this method with the previous 2 packages I mentioned above, but didn’t encounter a problem while unzipping, only after using

> source root/bin/thisroot.sh

and trying to launch root by writing

> root

in the terminal.

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [November 13, 2020, 8:06pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/6 "2020-11-13T20:06:40Z")

</div>

> [@Aggelos\_T](#):
>
> wget [https://root.cern/download/root\_v6.22.02.Linux-ubuntu20-x86\_64-gcc9.3.tar.gz](https://root.cern/download/root_v6.22.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz)  
> tar -xzvf root\_v6.22.02.Linux-ubuntu20-x86\_64-gcc9.3.tar.gz

Can you compare checksum

---

<div class="post-metadata">

**Author:** ![Aggelos\_T](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/aggelos_t/32/23987_2.png) [@Aggelos\_T](https://root-forum.cern.ch/u/Aggelos_T)\
**Post date:** [November 13, 2020, 8:11pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/7 "2020-11-13T20:11:25Z")

</div>

I believe it’s the same: b1d12816a6e551e8b91b27d5a89685fcb8bb157ab1f5c066b9d6a2acb4d86b33.

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [November 13, 2020, 8:22pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/8 "2020-11-13T20:22:31Z")

</div>

For me same file works.  
It has to do with unpacking on your file system.  
Please check suggestions from google [tar: Unexpected EOF in archive](https://www.google.com/search?source=hp&q=tar%3A+Unexpected+EOF+in+archive)

---

<div class="post-metadata">

**Author:** ![Aggelos\_T](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/aggelos_t/32/23987_2.png) [@Aggelos\_T](https://root-forum.cern.ch/u/Aggelos_T)\
**Post date:** [November 13, 2020, 8:52pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/9 "2020-11-13T20:52:20Z")

</div>

Ok, so I deleted and re-downloaded root\_v6.22.02.Linux-ubuntu20-x86\_64-gcc9.3.tar.gz using the same method as before (wget, tar, source), but the first problem still persists when writing root in the terminal:

> Fatal in TROOT::InitInterpreter: cannot load library libtinfo.so.6: cannot open shared object file: No such file or directory

Is there anything else I can do? Maybe another version I can try?  
Thank you for your help so far.

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [November 13, 2020, 9:10pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/10 "2020-11-13T21:10:23Z")

</div>

> [@Aggelos\_T](#):
>
> Is there anything else I can do? Maybe another version I can try?

No. You need to build ROOT from source

---

<div class="post-metadata">

**Author:** ![Aggelos\_T](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/aggelos_t/32/23987_2.png) [@Aggelos\_T](https://root-forum.cern.ch/u/Aggelos_T)\
**Post date:** [November 14, 2020, 1:35pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/12 "2020-11-14T13:35:40Z")

</div>

I already tried installing the Ubuntu 18 version, but I had the same problem. Now, I’m trying to install ROOT from the source, as @linev proposed, but I’m having a different problem, as I mention in [this post](https://root-forum.cern.ch/t/trouble-with-cmake-installing-root-from-source/42298).

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [November 28, 2020, 1:43pm UTC](https://root-forum.cern.ch/t/problem-with-the-installation-of-root-unable-to-locate-package-libtinfo6/42294/13 "2020-11-28T13:43:10Z")

</div>

Closed on November 28, 2020, 1:43pm UTC

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