YUM what provides this file, huh?

This post is primarily written to remind myself, an Ubuntu user, to figure out how to find what RPM package provides a file — for example a header file. Today, I’m trying to compile and install R 3.1.3 on CentOS 6 from source code. This R installation is one of the requirements to install Tessera stack. The instruction from the installation page is: sudo yum install blas blas-devel lapack lapack-devel wget http://cran.r-project.org/src/base/R-3/R-3.1.3.tar.gz tar zxvf R-3.1.3.tar.gz cd R-3.1.3 ./configure --with-blas --with-lapack --with-x --enable-R-shlib make sudo make install Unfortunately, the process failed with ./configure with the complain about missing readline library. To fix it, I had to install readline-devel package. ...

June 24, 2015 · 2 min · 220 words · kenno