Steps to install freesurfer:
We should first download it fromm freesurfer site
tar -zxvf freesurfer-linux-centos7_x86_64-7.2.0.tar.gz
source activate mne
cd freesurfer
pwd
export FREESURFER_HOME=$HOME/freesurfer
export SUBJECTS_DIR=$FREESURFER_HOME/subjects
source $FREESURFER_HOME/SetUpFreeSurfer.sh
which freeview