# Garfield++ Installation

**URL:** <https://root-forum.cern.ch/t/garfield-installation/40820>\
**Category:** Garfield++\
**Created:** [August 4, 2020, 11:21am UTC](https://root-forum.cern.ch/t/garfield-installation/40820 "2020-08-04T11:21:03Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [August 4, 2020, 4:52pm UTC](https://root-forum.cern.ch/t/garfield-installation/40820/7 "2020-08-04T16:52:48Z")

</div>

> [@Fatal error when trying to run the Gem example](https://root-forum.cern.ch/t/fatal-error-when-trying-to-run-the-gem-example/39995/7):
>
> Below, you can find simple instructions on how to build Garfield++ (with examples) from scratch. Try (in case of problems, inspect the three created “\*.out.txt” files): # ... assuming you are using a bash like shell ... source /full/path/to/your/root/bin/thisroot.sh # setup your ROOT export GARFIELD\_HOME=${PWD}/garfieldpp # where to build Garfield++ rm -rf ${GARFIELD\_HOME} # make sure you start with an empty directory git clone --depth=1 https://gitlab.cern.ch/garfield/garfieldpp.git ${GARFIEL…

---

_[View the full topic](https://root-forum.cern.ch/t/garfield-installation/40820)._
