I am very, very new to the AFNI community and to using the Linux terminal.
I had AFNI installed on my Ubuntu 18.04 and it was working great, but I changed the username on the machine. Now everything else is fine, including FSL, but when I try to access AFNI it suddenly says command not found.
I tired following the instructions on installing it again to trace the error, I got to this stage “tcsh @update.afni.binaries -package linux_ubuntu_16_64 -do_extras” and when it got to installing the new binaries, it gave the following error “home/phoenix*/.bash_profile: No match”. There is probably a very simple solution to this, but I am really new to Linux and I would appreciate any help here.
A) When you set up AFNI, did you follow the default instructions from here: https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/background_install/install_instructs/steps_linux_ubuntu18.html
?
(My guess is that when you install FSL, it is in “/usr/bin” or somewhere like that, while the AFNI “abin” of binaries goes into your home directory, so your $PATH variable, which tells your shell where to find programs, might have the outdated name or something.)
And what are the outputs of the following (you can copy/paste each into a terminal):
Thank you so much for the reply! Once you gave me an indication of where the issue is and how to check the paths I got it sorted. I changed the paths specified in the bashrc files and AFNI works fine again, both command line and GUI! Thank you so very much!
Hopefully this is the issue sorted for good now!
Best wishes,
Petya
… changing the location of abin to have your new username-- glad you have sorted it, then!
Note that you can also run the system check again:
afni_system_check.py -check_all
… just to be sure everything with the setup is happy.
–pt
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.