Mention how to local install in documentation. Closes #247.

This commit is contained in:
Paul Romano 2014-03-04 19:28:46 -05:00
parent 4cc8369dce
commit 3f218c431b
2 changed files with 15 additions and 2 deletions

View file

@ -48,7 +48,12 @@ following commands in a terminal:
sudo make install
This will build an executable named ``openmc`` and install it (by default in
/usr/local/bin).
/usr/local/bin). If you do not have administrator privileges, the last command
can be replaced with a local install, e.g.
.. code-block:: sh
make install -e prefix=$HOME/.local
.. _GitHub: https://github.com/mit-crpg/openmc
.. _git: http://git-scm.com

View file

@ -189,7 +189,15 @@ the root directory of the source code:
sudo make install
This will build an executable named ``openmc`` and install it (by default in
/usr/local/bin).
/usr/local/bin). If you do not have administrative privileges, you can install
OpenMC locally by replacing the last command with:
.. code-block:: sh
make install -e prefix=$HOME/.local
The ``prefix`` variable can be changed to any path for which you have
write-access.
Compiling on Windows
--------------------