Annotation of gnutrition/INSTALL, revision 1.1
1.1 ! asm 1: GNUtrition http://www.gnu.org/software/gnutrition/
! 2: ----------------------------------------------------------------------
! 3:
! 4: = Building GNUtrition from a Tarball =
! 5:
! 6: First, run:
! 7:
! 8: ./configure
! 9:
! 10: Run --configure --help to see all available options. For example, to
! 11: set PREFIX to a different location than /usr/local, you can set it
! 12: like so:
! 13:
! 14: ./configure --prefix=/path/to/prefix
! 15:
! 16: If configure runs without errors, then run:
! 17:
! 18: make
! 19: make install
! 20:
! 21: If your prefix is set to a location where your user does not have
! 22: write permissions (such as the default location for most people): you
! 23: may either switch to root or run
! 24:
! 25: sudo make install
! 26:
! 27:
! 28: = Building GNUtrition from a CVS checkout =
! 29:
! 30: If you're building from a CVS checkout first run autoreconf -i. For
! 31: most users: downloading a release tarball from either ftp.gnu.org or
! 32: alpha.gnu.org is recommended.
! 33:
! 34:
! 35: = Building the USDA database =
! 36:
! 37: Run the script in the top-level directory:
! 38:
! 39: gnutrition-updatedb
! 40:
! 41: This downloads USDA data and generates food.db to your prespecified
! 42: prefix directory.
! 43:
! 44:
! 45: = Running GNUtrition =
! 46:
! 47: If food.db is in the prespecified prefix directory, simply run:
! 48:
! 49: gnutrition
! 50:
! 51: To specify a different database location:
! 52:
! 53: gnutrition --db=/path/to/food.db
! 54:
! 55: The per-user log database is stored at
! 56: $XDG_DATA_HOME/gnutrition/log.db (or ~/.local/share/gnutrition/log.db
! 57: if XDG_DATA_HOME is not set). The USDA database is never modified.
! 58:
! 59: ----------------------------------------------------------------------
! 60: $Id$
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>