-
Notifications
You must be signed in to change notification settings - Fork 85
Installation
Prodigal consists of only a single C binary which contains everything you need. Prodigal runs from the command-line (i.e. terminal window in Linux or MacOSX, and at the DOS command line in Windows). Binaries are provided with each release; however, you can also install the program other ways as described below.
You can either install on Mac OS X using homebrew or follow the instructions for the Generic Unix installation.
To install using homebrew, first install it. If already installed, make sure you have the latest version.
$ brew update
Then install the prodigal formula.
$ brew install prodigal
By "Generic Unix", we mean any system with gcc, make, and install. This includes MacOSX (BSD) and all flavors of Linux.
After you have uncompressed the source code, cd into the directory and do:
$ make install
This will install the prodigal binary in /usr/local/bin. If you wish to put it somewhere else, you can override the INSTALLDIR variable in the makefile.
$ make install INSTALLDIR=/where/i/want/prodigal/
Alternatively, you can just do:
$ make
to compile the executable in the current directory and then move it wherever you like.
The Windows binary should be the easiest option (available with each release).
If you do need to compile on Windows, though, you should use either Cygwin or MinGW. Once you have a terminal window with the basic commands like make, install, and gcc, follow the directions for Installing on Generic Unix