Installation of Read has been set up using GNU Autotools, and as such follows the standard installation pattern:
./configure
make
make install
ConfigurationBy default, read is installed to the
/usr/local/bin directory. If you do not have sufficient permissions to install to this location, i.e. you are not
root, the installation directory can be customised using the
--prefix option on configure:
./configure --prefix=/location/to/install
The default C compiler is the GNU C Compiler,
gcc. This can be changed as required by setting the
CC variable on configure. For example, for the Intel C Compiler:
./configure CC=icc
Additional settings can be customised as required. To view all options, use the
--help option on configure:
./configure --help
InstallationOnce configuration is complete, simply run the
make and
make install commands. The installed files can be found within the installation directory at:
- Read Binary: $INSTALLDIR/bin/read
- Read Manual Page: $INSTALLDIR/share/man/man1/read.1
If you have not installed Read into the
/usr/local/bin directory, you will need to add the directories of the Read binary and manual page to your $PATH and $MANPATH environment variables respectively.