# Unable to install on Manjaro

**URL:** <https://openmc.discourse.group/t/unable-to-install-on-manjaro/4434>\
**Category:** User Support\
**Created:** [June 21, 2024, 4:48pm UTC](https://openmc.discourse.group/t/unable-to-install-on-manjaro/4434 "2024-06-21T16:48:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![astrocat](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@astrocat](https://openmc.discourse.group/u/astrocat)\
**Post date:** [June 21, 2024, 4:48pm UTC](https://openmc.discourse.group/t/unable-to-install-on-manjaro/4434/1 "2024-06-21T16:48:24Z")

</div>

I am trying to install openMC on Manjaro through the terminal, as instructed by the openmc tutorial by Copenhagen Atomics ( [https://youtu.be/sCDT5ZAeJcY?si=GwApix-8RGlTcHgu](https://youtu.be/sCDT5ZAeJcY?si=GwApix-8RGlTcHgu) ). I am able to get to the package selection line, but hitting “all” locks me into a display of green (comment?) text, and hitting none or enter+enter starts an installation that ultimately fails because of the following errors:

- one or more files did not pass the validity check
- could not find the fakeroot library
- could not resolve all dependencies  
it then gives me error statuses 15 and 8 and exits

---

<div class="post-metadata">

**Author:** ![campagnani](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/campagnani/32/3201_2.png) [@campagnani](https://openmc.discourse.group/u/campagnani)\
**Post date:** [June 23, 2024, 12:39am UTC](https://openmc.discourse.group/t/unable-to-install-on-manjaro/4434/2 "2024-06-23T00:39:25Z")

</div>

1- if you don’t post the output terminal is hard to help you.

2- you should take a look if someone else did this question, because another guy already post the same of you, the day before you.

3- here a easy solution for you: don’t compile from source, use the conda way to install alredy compilled. (But you shoud read the OpenMC docs anyway: [Quick Install Guide — OpenMC Documentation](https://docs.openmc.org/en/v0.12.1/quickinstall.html) )

```auto
paru -S nuclear-data miniconda3

echo """

#MiniConda
[-f /opt/miniconda3/etc/profile.d/conda.sh] && source /opt/miniconda3/etc/profile.d/conda.sh
export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1

#OpenMC Cross Sections
var=`echo /opt/nuclear-data/*hdf5 | head -n1`
export OPENMC_CROSS_SECTIONS=$var/cross_sections.xml
""" >> ~/.bashrc

source /opt/miniconda3/etc/profile.d/conda.sh
conda config --add channels conda-forge
conda create -n openmc-env openmc[version=0.14.0,build=nompi_py312hecd8f91_1]

```

This will install the miniconda3 aur package, use conda to create a envrolviment and install openmc in this envrolviment.

So every time you want to user openmc, you should activate this envrolvment after open the terminal:

```auto
conda activate openmc-env

```

If you don’t wanna this command every time after open the terminal, put on .bashrc:

```auto
echo "conda activate openmc-env" >> ~/.bashrc

```

You can figure out another versions of OpenMC with the command:

```auto
conda search openmc

```

Recently they release the 0.15.0 version.  
Today this version is not on conda yet, but you can check it later and install new version when you want. For now you can start to use the 0.14.0 version.
