Hi, list Experts,
I used AFNI for a while, but now I try to install it to another computer, I meet a lot of problems. Can anyone advise me?
I follow the instruction here: https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/background_install/install_instructs/steps_linux_Fed_RH.html
1)Install prerequisite packages.
sudo yum install -y tcsh libXp openmotif gsl xorg-x11-fonts-misc
PyQt4 R-devel netpbm-progs gnome-tweak-tool ed
libpng12
sudo yum update -y
The problem go as following.
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Setting up Install Process
No package openmotif available.
No package gsl available.
No package R-devel available.
No package netpbm-progs available.
No package gnome-tweak-tool available.
No package libpng12 available.
Nothing to do
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Setting up Update Process
No Packages marked for Update
2. Set “tcsh” to be the default shell.
chsh -s /usr/bin/tcsh
chsh: “/usr/bin/tcsh” does not exist.
3.Install AFNI.
curl -O https://afni.nimh.nih.gov/pub/dist/bin/linux_fedora_21_64/@update.afni.binaries
tcsh @update.afni.binaries -package linux_openmp_64 -do_extras
This step is fine.
4. reboot
I did this.
5.Get R setup.
tcsh
setenv R_LIBS $HOME/R
mkdir $R_LIBS
echo ‘setenv R_LIBS ~/R’ >> ~/.cshrc
rPkgsInstall -pkgs ALL
Error appears
rPkgsInstall: Command not found.
6.Automatically set up AFNI/SUMA profiles.
cp $HOME/abin/AFNI.afnirc $HOME/.afnirc
cp: cannot stat `/home/Juanw/abin/AFNI.afnirc’: No such file or directory
I do not go further. When I input “afni” in the terminal, it shows
-bash: afni: command not found.
Any good ideas for me?