More INSTALL clarifications.

This commit is contained in:
John Ralls 2015-02-06 14:29:11 -08:00
parent 1177e3a87e
commit e2718770b9

13
INSTALL
View File

@ -39,9 +39,14 @@ To build and install, whether from a tarball or git repo:
You can avoid using sudo for the install step by specifying a prefix to which you have write priviledge. The default is /usr/local, which is usually owned by root. You can learn of more options with You can avoid using sudo for the install step by specifying a prefix to which you have write priviledge. The default is /usr/local, which is usually owned by root. You can learn of more options with
python setup.py --help python setup.py --help
You can work with Gramps if you only build it by pointing the One can use gramps from the command line without installing it by
PYTHONPATH to the build directory, but things like MIME type and setting the following environment variables, but that won't provide
desktop entries will not be created then. things like MIME type and desktop entries.
export PYTHONPATH="/top/grampsdir/gramps:$PYTHONPATH"
export GRAMPS_RESOURCES="/top/grampsdir"
See below for ways to invoke Gramps.
Typical install directories in linux (ubuntu) are: Typical install directories in linux (ubuntu) are:
* /usr/local/lib/python2.7/dist-packages/gramps/ : the gramps python module * /usr/local/lib/python2.7/dist-packages/gramps/ : the gramps python module
@ -76,7 +81,7 @@ from the source directory.
python Gramps.py python Gramps.py
See gramps/gen/const.py how Gramps finds his resource directories in case See gramps/gen/const.py how Gramps finds its resource directories in case
you encounter problems. you encounter problems.
Custom directory installation Custom directory installation