From 59649b9f3feae7031749d5c55712d0ed448a4d21 Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Tue, 11 Aug 2026 13:07:03 +0200 Subject: [PATCH 1/2] Simplify dependencies by pointing to Docker packages Dependencies are always updated and unmaintainable. One is better off at pointing towards Dockerfile, even if sometimes an overkill or not perfect since build and runtime dependencies are not the same. In any case, git is better since at least you see how the dependencies change over time / release versions compared to just the current snapshot of the website. --- install/dependencies.md | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/install/dependencies.md b/install/dependencies.md index 1bc81f1c..e4cbf71f 100644 --- a/install/dependencies.md +++ b/install/dependencies.md @@ -31,10 +31,14 @@ we recommend checking the [docker image repository](https://github.com/root-proj - GCC 4.8 or later is supported - Clang 3.4 or later is supported -## Fedora, Scientific Linux and CentOS +## Fedora, Alma, Scientific Linux and CentOS Use `yum install ` or the graphical "Add/Remove Software" program. +Check out the [packages used](https://github.com/search?q=repo%3Aroot-project%2Froot-ci-images+%28path%3Afedora*%2Fpackages.txt+OR+path%3Arawhide*%2Fpackages.txt+OR+path%3Aalma*%2Fpackages.txt%29&type=code) for the Dockerfile build. + +
+Old instructions ### Required packages * **make:** for /usr/bin/make @@ -81,6 +85,7 @@ xrootd-client-devel xrootd-libs-devel * **graphviz-devel:** for /usr/include/graphviz/gvc.h and for /usr/lib/libgvc.so * **qt5-qtwebengine-devel:** required for **qt5web** component * **curl-devel:** for HTTP remote access +* **civetweb-devel** for e.g. webgui As a one-liner for Fedora 33: ```bash @@ -103,11 +108,16 @@ avahi-compat-libdns_sd-devel openldap-devel python-devel python3-numpy \ libxml2-devel gsl-devel readline-devel qt5-qtwebengine-devel \ R-devel R-Rcpp-devel R-RInside-devel ``` +
## Ubuntu and other Debian-based distributions Use `sudo apt install ` or use the graphical "Synaptic Package Manager" program. +Check out the [packages used](https://github.com/search?q=repo%3Aroot-project%2Froot-ci-images+%28path%3Aubuntu*%2Fpackages.txt+OR+path%3Adebian*%2Fpackages.txt%29&type=code) for the Dockerfile build. + +
+Old instructions ### Required packages **Installing required packages with a one-liner:** @@ -129,9 +139,9 @@ sudo apt install gfortran libpcre3-dev \ libglu1-mesa-dev libglew-dev libftgl-dev \ libfftw3-dev libcfitsio-dev libgraphviz-dev \ libavahi-compat-libdnssd-dev libldap2-dev \ - python3-dev python3-numpy libxml2-dev libkrb5-dev \ +python3-dev python3-numpy libxml2-dev libkrb5-dev \ libgsl-dev qtwebengine5-dev nlohmann-json3-dev libmysqlclient-dev \ -libgl2ps-dev \ +libgl2ps-dev libcivetweb-dev civetweb \ liblzma-dev libxxhash-dev liblz4-dev libzstd-dev libcurl4-openssl-dev ``` @@ -142,9 +152,16 @@ Some more context: * **r-base:** needed for R bindings. In addition R packages **Rcpp** and **RInside** need to be installed. **NOTE**: On Debian (>=13), substitute `libmysqlclient-dev` with `libmariadb-dev` and `libpcre3-dev` with `libpcre2-dev`. +
## openSUSE +Use `sudo zypper install ` or use the graphical software manager. + +Check out the [packages used](https://github.com/search?q=repo%3Aroot-project%2Froot-ci-images+path%3Aopensuse*%2Fpackages.txt&type=code) for the Dockerfile build. + +
+Old instructions Minimal set: ```bash @@ -160,8 +177,9 @@ sudo zypper install gcc-fortran pcre-devel Mesa glew-devel libpng16-devel \ pkgconf-pkg-config libmariadb-devel fftw3-devel cfitsio-devel graphviz-devel \ libdns_sd avahi-compat-mDNSResponder-devel openldap2-devel python3-devel python3-numpy \ libxml2-devel krb5-devel gsl-devel chromium libQt5Gui-devel libqt5-qtwebengine-devel \ -libcurl-devel +libcurl-devel civetweb civetweb-devel ``` +
## MacOS @@ -182,7 +200,7 @@ cmake ../root make -j8 ``` - +Homebrew can be used to install most dependencies. ## Windows From afe096ac22b29076ca106cd6584b4901def633dc Mon Sep 17 00:00:00 2001 From: ferdymercury Date: Tue, 11 Aug 2026 13:08:38 +0200 Subject: [PATCH 2/2] add brew formula link --- install/dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/dependencies.md b/install/dependencies.md index e4cbf71f..d1a41a82 100644 --- a/install/dependencies.md +++ b/install/dependencies.md @@ -200,7 +200,7 @@ cmake ../root make -j8 ``` -Homebrew can be used to install most dependencies. +Homebrew can be used to install most dependencies. Check out all required packages in the [official formula](https://github.com/Homebrew/homebrew-core/blob/main/Formula/r/root.rb). ## Windows