How to Install and Uninstall clamav Package on Debian 12 (Bookworm)

Last updated: April 29,2024

1. Install "clamav" package

This is a short guide on how to install clamav on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install clamav

2. Uninstall "clamav" package

Please follow the guidance below to uninstall clamav on Debian 12 (Bookworm):

$ sudo apt remove clamav $ sudo apt autoclean && sudo apt autoremove

3. Information about the clamav package on Debian 12 (Bookworm)

Package: clamav
Version: 1.0.3+dfsg-1~deb12u1
Installed-Size: 29047
Maintainer: ClamAV Team
Architecture: amd64
Depends: clamav-freshclam (>= 1.0.3+dfsg) | clamav-data, libc6 (>= 2.34), libclamav11 (>= 1.0.3), libcurl4 (>= 7.16.2), libgcc-s1 (>= 4.2), libjson-c5 (>= 0.15), libssl3 (>= 3.0.0), zlib1g (>= 1:1.2.3.3)
Recommends: clamav-base
Suggests: libclamunrar, clamav-docs
Description: anti-virus utility for Unix - command-line interface
Description-md5: fb7be82d5591a0f3facf827f0a60c5d6
Multi-Arch: foreign
Homepage: https://www.clamav.net/
Tag: implemented-in::c, interface::commandline, role::program,
scope::utility, security::antivirus, use::scanning, works-with::file,
works-with::mail
Section: utils
Priority: optional
Filename: pool/main/c/clamav/clamav_1.0.3+dfsg-1~deb12u1_amd64.deb
Size: 5673236
MD5sum: a37963e34f2f38a723b5e541f6a734fd
SHA256: 85f620f5471556242e41f3f05d2028b5066d0fe15e6fbe87c7d39382902197f1