1. Check if an executable program is 32 bit or 64 bit.
file `which program-name`
  1. Set the value for executable files or libs
# For executable
export PATH=${PATH}:/yourpath
# Shared libraries
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/yourpatj