 
 
 
 
 
 
 
  
emacs ~/.bashrc
setup_slsdet and replace path
with absolute path of installed directory
function setup_slsdet
{ 
export PKGPATH=[path]
export LD_LIBRARY_PATH=$PKGPATH/slsDetectorPackage/build/bin:$LD_LIBRARY_PATH
export PATH=$PKGPATH/slsDetectorPackage/build/bin:$PATH
cd $PKGPATH/slsDetectorPackage/build/bin
}
source ~/.bashrc
setup_slsdet to load the environment
variables.
One can also add the GUI environment variables if installed locally by adding
the following in the function setup_sldet 
export QTDIR=/path-where-it-is/Qt-4.8.2 export QWTDIR=/path-where-it-is/qwt-6.0.1 export QWT3D=/path-where-it-is/qwtplot3d export QMAKESPEC=$QTDIR/mkspecs/linux-g++ export LD_LIBRARY_PATH=$QTDIR/lib:$QWTDIR/lib:$QWT3D/lib:$LD_LIBRARY _PATH export PATH=$QTDIR/bin:$PATH