# Installation on ubuntu 22.04 LTS

**URL:** <https://openmc.discourse.group/t/installation-on-ubuntu-22-04-lts/2881>\
**Category:** User Support\
**Created:** [April 1, 2023, 8:09pm UTC](https://openmc.discourse.group/t/installation-on-ubuntu-22-04-lts/2881 "2023-04-01T20:09:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shad0w](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@Shad0w](https://openmc.discourse.group/u/Shad0w)\
**Post date:** [April 1, 2023, 8:09pm UTC](https://openmc.discourse.group/t/installation-on-ubuntu-22-04-lts/2881/1 "2023-04-01T20:09:08Z")

</div>

Hello. I am new here. I unable to install openmc on ubuntu 22.04 LTS. I have followed the steps mentioned in the quick installation guide. But I was unable to install. Can someone please help me out?

---

<div class="post-metadata">

**Author:** ![Jalil](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@Jalil](https://openmc.discourse.group/u/Jalil)\
**Post date:** [April 2, 2023, 2:03pm UTC](https://openmc.discourse.group/t/installation-on-ubuntu-22-04-lts/2881/2 "2023-04-02T14:03:44Z")

</div>

Hi, try this :  
git clone --recurse-submodules [GitHub - openmc-dev/openmc: OpenMC Monte Carlo Code](https://github.com/openmc-dev/openmc.git)  
d openmc  
mkdir build && cd build  
d build/  
cmake …  
make -j 4  
make install  
d …  
pip install .  
d …  
wget [https://anl.box.com/shared/static/9igk353zpy8fn9ttvtrqgzvw1vtejoz6.xz](https://anl.box.com/shared/static/9igk353zpy8fn9ttvtrqgzvw1vtejoz6.xz)  
tar -xvf 9igk353zpy8fn9ttvtrqgzvw1vtejoz6.xz  
export OPENMC\_CROSS\_SECTIONS=‘here put pwd’/endfb-vii.1-hdf5/cross\_sections.xml

---

<div class="post-metadata">

**Author:** ![Nilormi](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@Nilormi](https://openmc.discourse.group/u/Nilormi)\
**Post date:** [April 5, 2023, 12:46pm UTC](https://openmc.discourse.group/t/installation-on-ubuntu-22-04-lts/2881/3 "2023-04-05T12:46:01Z")

</div>

I have experienced in using WSL. To install OpenMC using Ubuntu 22.04, follow the steps to install OpenMC on Linux as mentioned on [Quick Install Guide — OpenMC Documentation](https://docs.openmc.org/en/stable/quickinstall.html). But as you need to have conda preinstalled, you can refer [How To Install the Anaconda Python Distribution on Ubuntu 22.04 | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-install-the-anaconda-python-distribution-on-ubuntu-22-04). Perform this steps on the Ubuntu Terminal.

Hope this would help.
