sudo apt -yV install libarmadillo-dev libarmadillo10 apt -y install wget cd /tmp wget -O https://sourceforge.net/projects/arma/files/armadillo-12.2.0.tar.xz xz -d armadillo-12.2.0.tar.xz tar -xvof /tmp/armadillo-12.2.0.tar cd armadillo-12.2.0 ./configure --prefix=/usr/local make sudo make install