Dear AFNI Community,
I am installing AFNI on a Linux CentOS7 system following the installation tutorial: Fedora and Red Hat Linux: The essential system setup.
The tutorial requires to install R using the following commands:
for tcsh:
setenv R_LIBS $HOME/R
mkdir $R_LIBS
echo ‘setenv R_LIBS ~/R’ >> ~/.cshrc
curl -O https://afni.nimh.nih.gov/pub/dist/src/scripts_src/@add_rcran_ubuntu.tcsh
sudo tcsh @add_rcran_ubuntu.tcsh
The command “sudo tcsh @add_rcran_ubuntu.tcsh” gave the error message:
awk: fatal: cannot open file `/etc/lsb-release’ for reading (No such file or directory)
++ Linux codename is:
++ Adding R-cran mirror to repository list.
tee: /etc/apt/sources.list: No such file or directory
apt-key: Command not found.
++ Going to install new R now, removing any old one first.
apt-get: Command not found.
apt-get: Command not found.
apt-get: Command not found.
apt-get: Command not found.
Can you help me, please?
Thank you very much,
CL