configure error installing R-3.3.2 on Ubuntu: checking whether bzip2 support suffices... configure: error: bzip2 library and headers are required

InformaticsLad picture InformaticsLad · Nov 16, 2016 · Viewed 22.1k times · Source

Trying to install R-3.3.2 but when I use $./configure, I keep getting the error:

checking whether bzip2 support suffices... configure: error: bzip2 library and headers are required

Answer

Yves Cavalcanti picture Yves Cavalcanti · May 31, 2018

It worked for me after:

sudo apt-get install libbz2-dev