# Unable to locate package libtinfo6

**URL:** <https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673>\
**Category:** ROOT\
**Created:** [October 2, 2020, 8:15am UTC](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673 "2020-10-02T08:15:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![chiara\_iannetta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/chiara_iannetta/32/20293_2.png) [@chiara\_iannetta](https://root-forum.cern.ch/u/chiara_iannetta)\
**Post date:** [October 2, 2020, 8:15am UTC](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673/1 "2020-10-02T08:15:45Z")

</div>

I’m trying to install ROOT on a linux server 18.04.5 LTS (Bionic Beaver).  
After installing both the dependencies and the pre-compiled binaries (I have followed [the official link](https://root.cern/install/)), as I try to launch ROOT by the terminal the following message appears:

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

```

Then I tried to do

```auto
sudo apt-get install libtinfo6

```

but this error message appeared:

```auto
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libtinfo6

```

Any suggestions on what should I do now?  
\_  
_ROOT Version:_ 6.22/00  
_Platform:_ bionic-server-amd64

* * *

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [October 2, 2020, 8:35am UTC](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673/2 "2020-10-02T08:35:52Z")

</div>

Hi,  
[packages.ubuntu.com](https://packages.ubuntu.com/search?searchon=contents&keywords=libtinfo.so&mode=exactfilename&suite=focal&arch=any) suggests libtinfo.so comes with libncurses-dev. Does installing that package help?

Cheers,  
Enrico

---

<div class="post-metadata">

**Author:** ![chiara\_iannetta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/chiara_iannetta/32/20293_2.png) [@chiara\_iannetta](https://root-forum.cern.ch/u/chiara_iannetta)\
**Post date:** [October 2, 2020, 8:59am UTC](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673/3 "2020-10-02T08:59:58Z")

</div>

Thanks for the suggestion!  
This is the record of the terminal feedback:

```auto
sudo apt-get install libncurses-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libncurses5-dev' instead of 'libncurses-dev'
The following package was automatically installed and is no longer required:
  grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libtinfo-dev
Suggested packages:
  ncurses-doc
The following NEW packages will be installed:
  libncurses5-dev libtinfo-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 256 kB of archives.
After this operation, 1,422 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cern-geneva-b.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtinfo-dev amd64 6.1-1ubuntu1.18.04 [81.3 kB]
Get:2 http://cern-geneva-b.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libncurses5-dev amd64 6.1-1ubuntu1.18.04 [174 kB]
Fetched 256 kB in 0s (963 kB/s)      
Selecting previously unselected package libtinfo-dev:amd64.
(Reading database ... 77016 files and directories currently installed.)
Preparing to unpack .../libtinfo-dev_6.1-1ubuntu1.18.04_amd64.deb ...
Unpacking libtinfo-dev:amd64 (6.1-1ubuntu1.18.04) ...
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../libncurses5-dev_6.1-1ubuntu1.18.04_amd64.deb ...
Unpacking libncurses5-dev:amd64 (6.1-1ubuntu1.18.04) ...
Setting up libtinfo-dev:amd64 (6.1-1ubuntu1.18.04) ...
Setting up libncurses5-dev:amd64 (6.1-1ubuntu1.18.04) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

```

Unfortuately, the error remain the same as before…

cheers,

Chiara

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [October 2, 2020, 9:12am UTC](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673/4 "2020-10-02T09:12:06Z")

</div>

Uhm ok, which binaries did you download exactly? [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) ?

---

<div class="post-metadata">

**Author:** ![chiara\_iannetta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/chiara_iannetta/32/20293_2.png) [@chiara\_iannetta](https://root-forum.cern.ch/u/chiara_iannetta)\
**Post date:** [October 2, 2020, 9:16am UTC](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673/5 "2020-10-02T09:16:29Z")

</div>

No, I took this one: [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)

Should I try with the 6.22.02 version?

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [October 2, 2020, 9:17am UTC](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673/6 "2020-10-02T09:17:27Z")

</div>

You should try the ubuntu18 version 😃

---

<div class="post-metadata">

**Author:** ![chiara\_iannetta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/chiara_iannetta/32/20293_2.png) [@chiara\_iannetta](https://root-forum.cern.ch/u/chiara_iannetta)\
**Post date:** [October 2, 2020, 9:18am UTC](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673/7 "2020-10-02T09:18:05Z")

</div>

Oh I see. I didn’t notice the 19 at all. I’ll try right now thanks

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [October 2, 2020, 9:18am UTC](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673/8 "2020-10-02T09:18:18Z")

</div>

🤞

---

<div class="post-metadata">

**Author:** ![chiara\_iannetta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/chiara_iannetta/32/20293_2.png) [@chiara\_iannetta](https://root-forum.cern.ch/u/chiara_iannetta)\
**Post date:** [October 2, 2020, 9:23am UTC](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673/9 "2020-10-02T09:23:47Z")

</div>

It was the wrong tar.gz file. Thank you a lot for the help!

---

<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:** [October 16, 2020, 9:23am UTC](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673/10 "2020-10-16T09:23:50Z")

</div>

Closed on October 16, 2020, 9:23am UTC

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