These instructions are for version 10.5.23 (13 March 2014) and later versions of the WFDB Software Package. Instructions for older versions are here.
gcc --version curl-config --version ls /usr/include/expat.hIf these commands work, skip to the next step. Otherwise, as root, install any missing packages, and any packages that they may require, by running (on Fedora, Red Hat, Centos, and most other RPM-based GNU/Linux distributions)
yum install gcc curl-devel expat-devel(or, on Debian, Ubuntu, Mint, and other Debian-based GNU/Linux distributions)
apt-get install gcc libcurl4-openssl-dev libexpat1-dev
tar xfvz wfdb.tar.gzThis command creates a directory with a name of the form wfdb-10.m.n. Look at the list of files extracted to find the name.
cd wfdb-10.m.n ./configure make install make check
By default, the make command installs the package into subdirectories of /usr/local, which may require root permissions. You may choose any other writable directory, such as your home directory, by adding an appropriate option to the ./configure command above:
./configure --prefix=/somewhere/elseNote that in this case you will need to add /somewhere/else/bin to your PATH. (It is no longer necessary to set your LD_LIBRARY_PATH, as was needed in previous versions.)
'make check' compiles a short program that exercises the WFDB library and applications, and prints a summary of test results. The tests are very short (typically less than a second each), except that the last one (xform using NETFILES) may take up to a minute if you have a slow or inoperative Internet connection. If any application test fails, its output (program.out) can be found in the checkpkg subdirectory of the WFDB source tree; compare this output with the file of the same name that can be found in the checkpkg/expected subdirectory.