Installation of Grep
Prepare Grep to be compiled:
./configure --prefix=/stage1 \
--disable-perl-regexp --with-included-regex
Compile the programs:
make
Check that the programs work correctly:
make check
Then install them and their documentation:
make install