solved, thank you,
Octavian


On Sat, Dec 21, 2013 at 11:55 AM, Octavian Lie <octavian.lie@gmail.com> wrote:
Dear All,

I downloaded/installed freesurfer-Linux-centos6_x86_64-dev version (12/19/2013) on my ubuntu 12.04 using tcsh, also fixed missing libnetcdf libraries missing in my distro, here is fs home directory:

FREESURFER_HOME   /usr/local/fs5.3/freesurfer
FSFAST_HOME       /usr/local/fs5.3/freesurfer/fsfast
FSF_OUTPUT_FORMAT nii.gz
SUBJECTS_DIR      /usr/local/fs5.3/freesurfer/subjects
MNI_DIR           /usr/local/fs5.3/freesurfer/mni


Testing using the commands on the testing page went OK, however, if I close the terminal, open another one, commands are not recognized, and I have to reset freesurfer home every time I open a terminal with
setenv FREESURFER_HOME <freesurfer_installation_directory>/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.csh
I thought this is a sudo issue, however if I use

sudo setenv FREESURFER_HOME /usr/local/fs5.3/freesurfer, it tells me:

sudo: setenv: command not found


I mention I changed the default shell from bash to tcsh recently,
Please advise,

Octavian