## Requirements

The following components are required to compile ClamAV under UNIX: 3

- zlib and zlib-devel packages
- gcc compiler suite (tested with 2.9x, 3.x and 4.x series)
  If you are compiling with higher optimization levels than the default one (-O2 for gcc), be aware that there have been reports of misoptimizations. The build system of ClamAV only checks for bugs affecting the default settings, it is your responsibility to check that your compiler version doesn't have any bugs.

The following packages are optional but highly recommended:

- bzip2 and bzip2-devel library
- `check` unit testing framework 4.

The following packages are optional, but required for bytecode JIT support: 5

- GCC C and C++ compilers (minimum 4.1.3, recommended 4.3.4 or newer)
  the package for these compilers are usually called: gcc, g++, or gcc-c++. 6
- A supported CPU for the JIT, either of: X86, X86-64, PowerPC, PowerPC64

The following packages are optional, but needed for the JIT unit tests:

- GNU Make (version 3.79, recommended 3.81)
- Python (version 2.5.4 or newer), for running the JIT unit tests