# Install and running root

**URL:** <https://root-forum.cern.ch/t/install-and-running-root/56350>\
**Category:** ROOT\
**Created:** [September 12, 2023, 11:54pm UTC](https://root-forum.cern.ch/t/install-and-running-root/56350 "2023-09-12T23:54:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarah](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/sarah/32/34502_2.png) [@sarah](https://root-forum.cern.ch/u/sarah)\
**Post date:** [September 12, 2023, 11:54pm UTC](https://root-forum.cern.ch/t/install-and-running-root/56350/1 "2023-09-12T23:54:57Z")

</div>

Hello everyone

although root is installed i can’t open it  
thanks in advance.

 ![Screenshot from 2023-09-13 02-50-05](https://root-forum.cern.ch/uploads/default/original/3X/0/d/0deeeb7d0af20e8c5e773752758c9092202c6cea.png)

---

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [September 13, 2023, 5:33am UTC](https://root-forum.cern.ch/t/install-and-running-root/56350/2 "2023-09-13T05:33:46Z")

</div>

How exactly did you install ROOT? If you get a precompiled binary (and you should, unless you have a reason to compile your own), make sure it is the one for your specific linux (if it’s Ubuntu, get the ROOT for the specific version of Ubuntu – 18,20,22–, or whatever the case).  
And did you install all required packages (check the [dependencies](https://root.cern/install/dependencies/#ubuntu-and-other-debian-based-distributions) page; I guess you are on Ubuntu)? Before installing these, on Ubuntu I always install “build-essential” first to be safe; I think it already comes pre-installed on recent Ubuntus, but try to install it if not sure.

---

<div class="post-metadata">

**Author:** ![ferhue](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ferhue/32/29462_2.png) [@ferhue](https://root-forum.cern.ch/u/ferhue)\
**Post date:** [September 13, 2023, 7:22am UTC](https://root-forum.cern.ch/t/install-and-running-root/56350/3 "2023-09-13T07:22:56Z")

</div>

See also [Unable to locate package libtinfo6 - #6 by eguiraud](https://root-forum.cern.ch/t/unable-to-locate-package-libtinfo6/41673/6)

---

<div class="post-metadata">

**Author:** ![sarah](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/sarah/32/34502_2.png) [@sarah](https://root-forum.cern.ch/u/sarah)\
**Post date:** [September 13, 2023, 9:02am UTC](https://root-forum.cern.ch/t/install-and-running-root/56350/4 "2023-09-13T09:02:02Z")

</div>

now that i upgraded Ubuntu from version 18 to 22 and tried to open it … that’s the result

 ![Screenshot from 2023-09-13 11-56-19](https://root-forum.cern.ch/uploads/default/original/3X/6/4/64d58890de1ae6f06bf039b1e0390d46ce3cff7d.png)

---

<div class="post-metadata">

**Author:** ![ferhue](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ferhue/32/29462_2.png) [@ferhue](https://root-forum.cern.ch/u/ferhue)\
**Post date:** [September 13, 2023, 9:41am UTC](https://root-forum.cern.ch/t/install-and-running-root/56350/5 "2023-09-13T09:41:16Z")

</div>

check the [Dependencies - ROOT](https://root.cern/install/dependencies/#ubuntu-and-other-debian-based-distributions), maybe you need to apt install libssl-dev

Or download the new binary for Ubuntu 22: [Release 62806 - ROOT](https://root.cern/releases/release-62806/)

If you have another libssl version, you can do a dirty hack with a symbolic link.

---

<div class="post-metadata">

**Author:** ![sarah](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/sarah/32/34502_2.png) [@sarah](https://root-forum.cern.ch/u/sarah)\
**Post date:** [September 13, 2023, 1:04pm UTC](https://root-forum.cern.ch/t/install-and-running-root/56350/6 "2023-09-13T13:04:58Z")

</div>

here i’m trying to install rootv6.28.06

 ![Screenshot from 2023-09-13 16-03-38](https://root-forum.cern.ch/uploads/default/original/3X/3/6/36c8b834c1b4a1b214e0a779f477860b0487a9c1.png)

---

<div class="post-metadata">

**Author:** ![ferhue](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ferhue/32/29462_2.png) [@ferhue](https://root-forum.cern.ch/u/ferhue)\
**Post date:** [September 13, 2023, 1:13pm UTC](https://root-forum.cern.ch/t/install-and-running-root/56350/7 "2023-09-13T13:13:34Z")

</div>

Do you need to install it? Can’t you just download the binary executable?

[https://root.cern/download/root\_v6.28.06.Linux-ubuntu22-x86\_64-gcc11.4.tar.gz](https://root.cern/download/root_v6.28.06.Linux-ubuntu22-x86_64-gcc11.4.tar.gz)

---

<div class="post-metadata">

**Author:** ![sarah](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/sarah/32/34502_2.png) [@sarah](https://root-forum.cern.ch/u/sarah)\
**Post date:** [September 13, 2023, 1:29pm UTC](https://root-forum.cern.ch/t/install-and-running-root/56350/8 "2023-09-13T13:29:01Z")

</div>

please would you explain more to me ?

---

<div class="post-metadata">

**Author:** ![ferhue](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ferhue/32/29462_2.png) [@ferhue](https://root-forum.cern.ch/u/ferhue)\
**Post date:** [September 13, 2023, 1:47pm UTC](https://root-forum.cern.ch/t/install-and-running-root/56350/9 "2023-09-13T13:47:44Z")

</div>

Unzip the file I linked. Open a terminal and write:  
`source root/bin/thisroot.sh`  
`root -l`

The first line you can add to your .bashrc if in the future you do not want to call it explicitly.

---

<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:** [September 27, 2023, 1:48pm UTC](https://root-forum.cern.ch/t/install-and-running-root/56350/10 "2023-09-27T13:48:21Z")

</div>

Closed on September 27, 2023, 1:48pm UTC

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