Also, it seems that you are installing AFNI as the
root user, which is generally not advised. Even if
binaries are installed as root for many users, it
is good to then put them under something more
standard, such as /usr/local/AFNI, say.
Admin rights are needed for the 'yum' commands
to install libraries (though sudo is usually the way
to go there). But for everything else, a standard
user should be sufficient.
- rick