RcppArmadillo installation error When I am trying to install the RcppArmadillo Bioconductor library in R, it is giving me the following error:

/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
make: *** [RcppArmadillo.so] Error 1
ERROR: compilation failed for package ‘RcppArmadillo’
* removing ‘/home/nikita/R/x86_64-pc-linux-gnu-library/3.2/RcppArmadillo’


I am using Ubuntu 12.04, R 3.2.5 and g++-5.4. Any help would be greatly appreciated.
On Ubuntu 14.04 there is a direct route to installing RcppArmadillo. You could perhaps try the same syntax.

sudo apt-get update
sudo apt-get install r-cran-rcpparmadillo