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), as I try to launch ROOT by the terminal the following message appears:
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
sudo apt-get install libtinfo6
but this error message appeared:
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
Thanks for the suggestion!
This is the record of the terminal feedback:
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…