bash (or zsh/ksh) users should:
bash
zsh
ksh
. ~/ccp4/ccp4-8.0/bin/ccp4.setup-sh
but if you use tcsh (or csh) then instead:
tcsh
csh
source ~/ccp4/ccp4-8.0/bin/ccp4.setup-csh
then issue the commands:
echo $CCP4 /home/software/ccp4/ccp4-8.0 mtzdmp $CCP4/examples/rnase/rnase18.mtz | grep Space Spacegroup information obtained from library file: * Space group = P 21 21 21 (number 19)
echo $CCP4
/home/software/ccp4/ccp4-8.0
mtzdmp $CCP4/examples/rnase/rnase18.mtz | grep Space
Spacegroup information obtained from library file:
* Space group = P 21 21 21 (number 19)