Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 7101  / 2 Years ago, sat, august 20, 2022, 12:54:34

I've installed ClamTK via sudo apt-get install clamtk then realised it's outdated and purged clamtk. Then compiled clamav from source from the latest release following the instructions here



When I go to run sudo freshclam I get



renamon@Gibson{~/Desktop/clamav-0.98.3}:sudo freshclam
ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf


And clamscan -r / gives me



renamon@Gibson{~/Desktop/clamav-0.98.3}:sudo clamscan -r /
LibClamAV Error: cl_load(): No such file or directory: /usr/local/share/clamav
ERROR: Can't get file status

----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.98.3
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.000 sec (0 m 0 s)
renamon@Gibson{~/Desktop/clamav-0.98.3}:


Any help on the issue?


More From » clamav

 Answers
5

There are two clamav packages in Ubuntu:




  • clamav (The virus scanner itself, with only a CLI interface)

  • clamtk (A community build front-end for clamav)



The install clamav with GUI, you will need both. for the CLI only,just install clamav:



sudo apt-get update
sudo apt-get install clamav
sudo apt-get install clamtk


When the installation is finished, enter the following to update your virus DB:



sudo clamav clamav-freshclam


Optionality you can also install the clamav daemon with:



sudo apt-get install clamav-daemon


And to also be able to scan zip files, you will need to do:



sudo apt-get install libclamunrar6


vim /etc/clamd.conf



ScanArchive=yes 

[#25315] Sunday, August 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
reangi

Total Points: 213
Total Questions: 102
Total Answers: 114

Location: Namibia
Member since Wed, Jan 19, 2022
2 Years ago
;