Install hdf5r package in R 4.0.2


While installing the R package “hdf5r” version 1.3.3, I encountered the error:

fatal error: hdf5.h: No such file or directory
 #include <hdf5.h>
compilation terminated.

My OS is Debian buster/10.6, and the package “libhdf5-dev” has been installed. It looks R cannot find the path of hdf5 header and library files.

Install conda compiler tools


Conda is quite convenient for non-root users to install softwares in Linux system. But sometimes there is no packages available in anaconda repository and we have to install these softwares from source. This post introduces the way to compile and install softwares from source, use the Kyoto Cabinet Perl module as an example.