# How do I actually install ROOT?

**URL:** <https://root-forum.cern.ch/t/how-do-i-actually-install-root/40014>\
**Category:** ROOT\
**Tags:** installation\
**Created:** [June 21, 2020, 3:35am UTC](https://root-forum.cern.ch/t/how-do-i-actually-install-root/40014 "2020-06-21T03:35:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [June 21, 2020, 8:09am UTC](https://root-forum.cern.ch/t/how-do-i-actually-install-root/40014/3 "2020-06-21T08:09:29Z")

</div>

Hi,  
the easiest way is probably to install ROOT in a conda environment. From the terminal:

```bash
# first install conda (instructions at https://docs.conda.io/en/latest/miniconda.html#linux-installers)
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ bash Miniconda3-latest-Linux-x86_64.sh # and just follow the instructions on the terminal
# then install ROOT
$ conda create -c conda-forge --name <my-environment> root
$ conda activate <my-environment>

```

Whenever you want to have ROOT available in a terminal, you have to first give the command `conda activate <my-environment>`.

The second easiest way, in my opinion, is what @dastudillo described. To summarize the essential steps, that they described nicely in detail above:

1. install [all prerequisites for your platform](https://root.cern/build-prerequisites#ubuntu)
2. download and unpack a [pre-compiled binary](https://root.cern/content/release-62004) (no need to compile anything, but make sure you download a “Binary distribution” and not the “Source distribution”)
3. Whenever you want to have ROOT available in a terminal, you have to first give the command `source path/to/unpacked/root/bin/thisroot.sh`

Note that we currently do not have pre-compiled binaries for Ubuntu 20.04. I _think_ the ones for Ubuntu 19 should just work.

_Very soon_ we will have an even simpler method (download a root.deb package and `apt install root.deb`). Stay tuned 😄

Cheers,  
Enrico

---

_[View the full topic](https://root-forum.cern.ch/t/how-do-i-actually-install-root/40014)._
