Installing Geant4 v11 with conda

Please fill out the following information to help in answering your question, and also see tips for posting code snippets

_Geant4 Version: 11
_Operating System: Ubuntu
Compiler/Version:


Greetings everyone,

I am looking for guidance on installing Geant4 11 using anaconda. Does anyone have a reliable reference that can help me with this process?

I came across the following link:
https://anaconda.org/conda-forge/geant4#:~:text=To%20install%20this%20package%20run%20one%20of%20the,areas%20of%20application%20include%20high%20energy%2C%20nuclear%20and

And I also followed these steps:

  1. Create a new environment with the name “geant4-11” using the command “conda create -n geant4-11”
  2. Activate the newly created environment using “conda activate geant4-11”
  3. Install Geant4 11 using “conda install -c conda-forge geant4=11”

However, I would appreciate it if someone could verify whether my configuration has been set up correctly.

1 Like

I’d suggest trying to build and run the exampleB1 example application against the installation to check and confirm that works. Note that as it looks from that link that version 11.0.3 is being installed by conda, you’ll need to take the source code for that example from that version to guarantee compatibility:

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