How to Install and Uninstall clamav Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "clamav" package

This guide let you learn how to install clamav on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install clamav

2. Uninstall "clamav" package

This tutorial shows how to uninstall clamav on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the clamav package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: clamav
Architecture: amd64
Version: 0.103.2+dfsg-0ubuntu0.16.04.1
Multi-Arch: foreign
Priority: optional
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: ClamAV Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 764
Depends: clamav-freshclam (>= 0.103.2+dfsg) | clamav-data, libc6 (>= 2.15), libclamav9 (>= 0.103.2), libcurl3 (>= 7.16.2), libjson-c2 (>= 0.10), libssl1.0.0 (>= 1.0.0), zlib1g (>= 1:1.2.3.3)
Recommends: clamav-base
Suggests: clamav-docs
Filename: pool/main/c/clamav/clamav_0.103.2+dfsg-0ubuntu0.16.04.1_amd64.deb
Size: 126516
MD5sum: a58ccc5e594d57ad5e484759b9c2abd3
SHA1: e2301f3453d1196f5beda96b3f6eec884518d8f4
SHA256: 494cafdc6f4d4fe13a666d5da1a4f9afdc0cb0145a906a46440e80cdf084d3e8
SHA512: c19d69f74cb3ba9c7527f4dadd3a1d241044728d8c2545e2bbe4bf0df2ed42b7d10fa8b1d29f4de79c55ffad0e73f6eff2e52f2f8db300d8404b560c1d518c0f
Homepage: https://www.clamav.net/
Description-en: anti-virus utility for Unix - command-line interface
Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of
this software is the integration with mail servers (attachment
scanning). The package provides a flexible and scalable
multi-threaded daemon in the clamav-daemon package, a command-line
scanner in the clamav package, and a tool for automatic updating via
the Internet in the clamav-freshclam package. The programs are based
on libclamav, which can be used by other software.
.
This package contains the command line interface. Features:
- built-in support for various archive formats, including Zip, Tar,
Gzip, Bzip2, OLE2, Cabinet, CHM, BinHex, SIS and others;
- built-in support for almost all mail file formats;
- built-in support for ELF executables and Portable Executable files
compressed with UPX, FSG, Petite, NsPack, wwpack32, MEW, Upack and
obfuscated with SUE, Y0da Cryptor and others;
- built-in support for popular document formats including Microsoft
Office and Mac Office files, HTML, RTF and PDF.
.
For scanning to work, a virus database is needed. There are two options
for getting it:
- clamav-freshclam: updates the database from Internet. This is
recommended with Internet access.
- clamav-data: for users without Internet access. The package is
not updated once installed. The clamav-getfiles package allows
creating custom packages from an Internet-connected computer.
Description-md5: fb7be82d5591a0f3facf827f0a60c5d6
Supported: 5y

Package: clamav
Priority: optional
Section: utils
Installed-Size: 743
Maintainer: Ubuntu Developers
Original-Maintainer: ClamAV Team
Architecture: amd64
Version: 0.99+dfsg-1ubuntu1
Depends: clamav-freshclam (>= 0.99+dfsg) | clamav-data, libc6 (>= 2.15), libclamav7 (>= 0.99~rc1), libcurl3 (>= 7.16.2), libssl1.0.0 (>= 1.0.0), zlib1g (>= 1:1.2.3.3)
Recommends: clamav-base
Suggests: clamav-docs
Filename: pool/main/c/clamav/clamav_0.99+dfsg-1ubuntu1_amd64.deb
Size: 97498
MD5sum: 57c2904f25cac683be930951b0ef5cb7
SHA1: ea78367a0f45e035ce46c7dcc6a3cacbffd26aaf
SHA256: c2d6c814477a5435dd143b328b9b822f056cc76b90322dbcd679b90a68356092
Description-en: anti-virus utility for Unix - command-line interface
Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of
this software is the integration with mail servers (attachment
scanning). The package provides a flexible and scalable
multi-threaded daemon in the clamav-daemon package, a command-line
scanner in the clamav package, and a tool for automatic updating via
the Internet in the clamav-freshclam package. The programs are based
on libclamav, which can be used by other software.
.
This package contains the command line interface. Features:
- built-in support for various archive formats, including Zip, Tar,
Gzip, Bzip2, OLE2, Cabinet, CHM, BinHex, SIS and others;
- built-in support for almost all mail file formats;
- built-in support for ELF executables and Portable Executable files
compressed with UPX, FSG, Petite, NsPack, wwpack32, MEW, Upack and
obfuscated with SUE, Y0da Cryptor and others;
- built-in support for popular document formats including Microsoft
Office and Mac Office files, HTML, RTF and PDF.
.
For scanning to work, a virus database is needed. There are two options
for getting it:
- clamav-freshclam: updates the database from Internet. This is
recommended with Internet access.
- clamav-data: for users without Internet access. The package is
not updated once installed. The clamav-getfiles package allows
creating custom packages from an Internet-connected computer.
Description-md5: fb7be82d5591a0f3facf827f0a60c5d6
Multi-Arch: foreign
Homepage: http://www.clamav.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y