Next: Mail files Up: Features Previous: Features Contents

### Archives and compressed files

The library has a built-in support for the following formats:

- Zip
- RAR (2.0)
- Tar
- Gzip
- Bzip2
- MS OLE2
- MS Cabinet Files
- MS CHM (Compiled HTML)
- MS SZDD compression format
- UPX (all versions)
- FSG (1.3, 1.31, 1.33)
- Petite (2.x)

Due to license issues, support for RAR 3.0 archives is currently not available in libclamav (they will cause `RAR module failure.` error message). You can scan them with help of external unpackers in `clamscan`, though.

    	$ clamscan --unrar clam-error.rar
    	/home/zolw/test/clam-error.rar: RAR module failure.

    	UNRAR 3.00 freeware      Copyright (c) 1993-2002 Eugene Roshal

    	Extracting from /home/zolw/test/clam-error.rar

    	Extracting  clam.exe                                        OK
    	All OK
    	/tmp/44694f5b2665d2f4/clam.exe: ClamAV-Test-File FOUND
    	/home/zolw/test/clam-error.rar: Infected Archive FOUND