How to Install and Uninstall clamav Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 23,2024

1. Install "clamav" package

Please follow the instructions below to install clamav on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install clamav

2. Uninstall "clamav" package

Please follow the guidance below to uninstall clamav on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the clamav package on Ubuntu 21.04 (Hirsute Hippo)

Package: clamav
Architecture: amd64
Version: 0.103.2+dfsg-1ubuntu0.21.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: 706
Depends: clamav-freshclam (>= 0.103.2+dfsg) | clamav-data, libc6 (>= 2.33), libclamav9 (>= 0.103.2), libcurl4 (>= 7.16.2), libjson-c5 (>= 0.15), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.3.3)
Recommends: clamav-base
Suggests: libclamunrar, clamav-docs
Filename: pool/main/c/clamav/clamav_0.103.2+dfsg-1ubuntu0.21.04.1_amd64.deb
Size: 118616
MD5sum: 329e893cd76adfef15c77f57209f240f
SHA1: 70c52e3b65a6e2c83c6a6f394025af85ea68748b
SHA256: 3d604726e39c58de534de7d70d5b8a0583965491c4ec4302c48c4ae18c34276f
SHA512: c6d75f9d93410fed40e48541b2722ef5be1ca147d48e4ed8d4a828e07dd683220708d8d218d5dd4451c5bfab06736fd7f17bfe96856e1a44997903e88341d7ac
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

Package: clamav
Architecture: amd64
Version: 0.103.2+dfsg-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: 705
Depends: clamav-freshclam (>= 0.103.2+dfsg) | clamav-data, libc6 (>= 2.33), libclamav9 (>= 0.103.2), libcurl4 (>= 7.16.2), libjson-c5 (>= 0.15), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.3.3)
Recommends: clamav-base
Suggests: libclamunrar, clamav-docs
Filename: pool/main/c/clamav/clamav_0.103.2+dfsg-1_amd64.deb
Size: 118284
MD5sum: 6571e6d74faff88f0929bd85ae32319b
SHA1: f1cf0b02ddf16c5679460fc9ca3197f27ce54fd8
SHA256: 91a5a8d5da9d19ff41e72c9af5784427fe53611e9b73d43f961b4fc2beaeccb1
SHA512: 9074d1192a51f8759f281ff3d742b8c8e0ed9bc912b83872074eeea9b53bdc667b636c1df2d936a4d5df10162e288fe3d3c7b75629ab8c0ec5a75cd29ef78c94
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