neurodebian for ubuntu 16.04 doesn't have afni yet.
AFNI gui requires libxp which is also absent from the repos.
Quote
afni
afni: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
Fortunately (and surprisingly) building libXp is straight forward.
The code below gets afni running albeit in a bit kludgey way.
# prereqs
sudo apt-get install git xutils-dev libtool libx11-dev x11proto-xext-dev x11proto-print-dev
# libxp source
git clone [cgit.freedesktop.org]
cd libXp
# make
./autogen.sh
configure
make
sudo make install
# add to library path
echo 'export LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH"' >> ~/.bashrc
. ~/.bashrc
# afni gui works!
afni
Edited 3 time(s). Last edit at 05/20/2016 10:05AM by Will Foran.