Geant4 Installation with Conda

Hello,

I am trying to install Geant4 with conda on a Linux virtual machine ran with an ARM macOS. After downloading conda I tries running the following commands:

conda config --add channels conda-forge
conda config --set channel_priority strict
conda install geant4

Then I got this error:

~$ conda install geant4
Channels:
 - conda-forge
 - defaults
Platform: linux-aarch64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - geant4

Current channels:

  - https://conda.anaconda.org/conda-forge
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

I tried running other commands such as:

$ conda create -c conda-forge --name <my-environment> geant4
$ conda activate <my-environment>

Which is what I found on the officiela Geant4 website but always got the same error. Is geant4 no longer supported with conda? I did find geant4 in anaconda.org here:
Geant4 | Anaconda.org

and ran the following commands

conda install conda-forge::geant4
conda install conda-forge/label/cf202003::geant4

But still got the same error.

I’d appreciate it if someone knows how to move forward from here. Thank you.

Khalil

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