0% found this document useful (0 votes)
8 views4 pages

Installation of Root

This document provides a step-by-step guide for installing ROOT on Windows, including prerequisites like Visual Studio, CMake, and Python. Users are instructed to download the necessary files, run installers, and follow prompts to complete the installations. Verification of successful installations is also included through command prompt commands for ROOT, CMake, and Python.

Uploaded by

Meghna Karkera
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views4 pages

Installation of Root

This document provides a step-by-step guide for installing ROOT on Windows, including prerequisites like Visual Studio, CMake, and Python. Users are instructed to download the necessary files, run installers, and follow prompts to complete the installations. Verification of successful installations is also included through command prompt commands for ROOT, CMake, and Python.

Uploaded by

Meghna Karkera
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Installation of root

2.1 Windows

1. Download root from root website. Make sure to download it in “.exe”


format. You can use the link provided below to download it.
https://root.cern/releases/release-63202/

2. Install CMake, Visual Studio and Python, before you proceed.

3. Run the .exe file.


You will get the following screens.

4. In this screen, Click next.

5. Click on I Agree.
6. By clicking to add ROOT to the system path for current user, click next

7. After that you just have to follow the installation prompts.


8. Installation will be done. You can verify installation by opening the
command prompt and typing “root” and press enter.

Figure 1: ROOT prompt.

Installation of Visual Studio and Python: One can follow the following
steps to install Visual Studio, CMake, and Python on windows:

1. Visual Studio:
1. Download visual studio from the following link in .exe format:
https://visualstudio.microsoft.com/downloads/
Download the community version which is free.

2. Run the installer or the .exe file that you downloaded.

3. In the Visual Studio Installer, select the workloads you want to install.
For ROOT, ensure you select "Desktop development with C++".

4. Click the "Install" button to start the installation process.

5. After that in some time, depending on your internet speed, installation


will be done.

2. CMake:
1. Download the .msi file, looking like cmake-X.X.X-windows-
x86_64.msi from the following link:
https://cmake.org/download/

2. Once the installer is downloaded, run the .msi file.


3. The CMake Setup wizard will open. Click "Next" to begin the
installation process.

4. Read the License Agreement. If you agree, select "I accept the terms in
the License Agreement" and click "Next".

5. Select the destination folder where you want to install CMake. The
default location is usually fine. Click "Next" to continue.

6. Choose the option to add CMake to the system PATH for the
current user. This step is important to ensure you can use CMake from
the command line. Click "Next".

7. Click "Install" to start the installation. Once the installation is


complete, click "Finish" to exit the installer.

8. Open Command Prompt (cmd). Type cmake --version and press Enter.
You should see the CMake version information if the installation was
successful.

3. Python:
1. Download Python windows installer 64-bit from the following link:
https://www.python.org/downloads/windows/

2. Run the downloaded file.

3. Check the box that says "Add Python to PATH" at the bottom of the
installer window.

4. Choose "Install Now" to install Python with default settings.

5. Once the installation is complete, open Command Prompt (cmd).

6. Type python --version and press Enter. You should see the Python
version information if the installation was successful.

You might also like