- 
PhysioNet  ·  PhysioBank  ·  PhysioToolkit

WFDB quick start for GNU/Linux

  1. Are you running a 32- or 64-bit Linux kernel? Current versions of the WFDB Software Package can be compiled and installed on either 32- or 64-bit Linux, but the procedure for doing so depends on which you have. You can check this by running the command
    uname -m
    
    If the output is x86_64, your CPU and Linux kernel are both 64-bit, and you should use version 10.4.9, or any later version, of the WFDB Software Package. Although some older versions of the WFDB Software Package can also be compiled and installed on 64-bit Linux, they are not fully supported (see this note).

  2. Install gcc (requires root permissions) if it is not installed already (try the command 'gcc --version' to check).

  3. Install an HTTP client library (optional, requires root permissions) if one is not installed already (try the commands 'curl-config --version' and 'libwww-config --version' to check). If either command works, skip to the next step.

    If neither libcurl nor libwww has been installed already, install one of them now. On Fedora and other RPM-based GNU/Linux distributions, the command 'yum install curl-devel' downloads and installs libcurl; on Ubuntu and other Debian-based GNU/Linux distributions, 'apt-get install libcurl4-openssl-dev' does the same thing.


  4. If (and only if) you are running a 32-bit Linux kernel, install the X11 developer's toolkit and XView (optional, requires root permissions) if they have not been installed already. (Check for the presence of Xlib.h, which is usually found in /usr/include/X11, to see if the X11 developer's toolkit has been installed. Check for the presence of textedit, which is usually found in /usr/openwin/bin, to see if XView has been installed.)
  5. Download the current version of the WFDB software package as sources or binaries. Binary packages are provided as a convenience and may not be up-to-date; we strongly recommend following the procedure described below for compiling the software from the sources instead. If you plan to compile WFDB applications that are not included in the binary package, please start with the sources.

    If you download the sources (recommended):


    If you download the binaries (not recommended):

  6. Read the manuals. Really! :-) If you want to write your own software to work with PhysioBank data, begin with the WFDB Programmer's Guide. To learn about the wide variety of existing software that can be used to study PhysioBank data, read the WFDB Applications Guide and the WAVE User's Guide.

Old versions of the WFDB Software Package and 64-bit Linux

As noted above, although there has been limited support for compiling 64-bit versions of the WFDB Software Package for some time, version 10.4.9 is the first version to support this fully. If you wish to try compiling any earlier version in 64-bit mode, uninstall XView before attempting to do so, since the presence of XView will confuse pre-10.4.9 versions of WFDB's configure script, leading to compilation and configuration errors that may be difficult to correct.
Send feedback about this page to PhysioNet

Your comments and suggestions are welcome. We encourage you to use our feedback form to comment on this page. If you would like to receive a reply, please send your comments by email to webmaster@physionet.org, or post them to:

PhysioNet
MIT Room E25-505A
77 Massachusetts Avenue
Cambridge, MA 02139 USA

Updated Thursday, 20-Nov-2008 14:52:13 EST National Institute of Biomedical Imaging and Bioengineering National Institutes of Health National Institute of General Medical Sciences