Fedora 32
Sponsored Link

Install Clamav AntiVirus2020/05/01

 
Install Clam AntiVirus to protect your System from Virus.
[1] Install Clamav.
[root@dlp ~]#
dnf -y install clamav clamav-update
[root@dlp ~]#
vi /etc/freshclam.conf
# line 8: comment out if it enabled

#
Example
# update pattern files manually

[root@dlp ~]#
freshclam

ClamAV update process started at Thu Apr 30 21:22:11 2020
daily.cvd database is up to date (version: 25798, sigs: 2323518, f-level: 63, builder: raynman)
main.cvd database is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
bytecode.cvd database is up to date (version: 331, sigs: 94, f-level: 63, builder: anvilleg)
[2] Try to scan System.
# scan [/home]

[root@dlp ~]#
clamscan --infected --remove --recursive /home
----------- SCAN SUMMARY -----------
Known viruses: 6877863
Engine version: 0.102.2
Scanned directories: 2
Scanned files: 3
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 13.923 sec (0 m 13 s)

# download trial virus

[root@dlp ~]#
wget https://www.eicar.org/download/eicar.com
[root@dlp ~]#
clamscan --infected --remove --recursive .

# just detected and removed

./eicar.com: Win.Test.EICAR_HDB-1 FOUND
./eicar.com: Removed.

----------- SCAN SUMMARY -----------
Known viruses: 6877863
Engine version: 0.102.2
Scanned directories: 1
Scanned files: 8
Infected files: 1
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 13.765 sec (0 m 13 s)
Matched Content