How do you install Clamav? (solved)

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
bigphil
Posts: 80
Joined: Tue Jul 21, 2020 12:56 pm
Location: Sunny Sussex
Has thanked: 10 times
Been thanked: 12 times

How do you install Clamav? (solved)

Post by bigphil »

Would one of you clever people provide me with an idiots guide on how to install Clamav.
I've downloaded and installed the .deb package from clamav.net but get the same error as in the post below:-

viewtopic.php?t=3711

It says solved but it's not obvious what solved it.
I've done all it said in the post but still no go.

I'm running Bionic 64 and Fossa 64 but both have the same problem.

Any help would be greatly appreciated.

Regards
Phil

Last edited by bigpup on Tue Jan 10, 2023 9:32 pm, edited 1 time in total.
Reason: added solved to show fix was found.
williams2
Posts: 1023
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 288 times

Re: How do you install Clamav?

Post by williams2 »

Code: Select all

# wget https://www.clamav.net/downloads/production/clamav-1.0
--2023-01-09 02:34:08--  https://www.clamav.net/downloads/product
Resolving www.clamav.net (www.clamav.net)... 104.16.218.84, 104.1
# 

Click the deb to install ...
or unzip and copy to /usr/

Edit the config file

# Comment or remove the line below.
#Example

change
#DatabaseOwner clamav
to
DatabaseOwner root

Code: Select all

# cp /usr/local/etc/freshclam.conf.sample /usr/local/etc/freshclam.conf
# geany /usr/local/etc/freshclam.conf.sample /usr/local/etc/freshclam.conf

Update database;

Code: Select all

# freshclam 
ClamAV update process started at Mon Jan  9 02:59:32 2023
daily database available for download (remote version: 26775)
Time:   40.8s, ETA:    0.0s [========================>]   57.66MiB/57.66MiB
Testing database: '/usr/local/share/clamav/tmp.d76b53102e/clamav-1e2414d1a17a1a06d6c4946427054060.tmp-daily.cvd' ...
Database test passed.
daily.cvd updated (version: 26775, sigs: 2015380, f-level: 90, builder: raynman)
main database available for download (remote version: 62)
Time:  1m 52s, ETA:    0.0s [========================>]  162.58MiB/162.58MiB
Testing database: '/usr/local/share/clamav/tmp.d76b53102e/clamav-1a7af44d72c94ad86b3963f29a9297af.tmp-main.cvd' ...
Database test passed.
main.cvd updated (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
bytecode database available for download (remote version: 333)
Time:    5.6s, ETA:    0.0s [========================>]  286.79KiB/286.79KiB
Testing database: '/usr/local/share/clamav/tmp.d76b53102e/clamav-a497ca5ca452212c9c2e78f51b6ed716.tmp-bytecode.cvd' ...
Database test passed.
bytecode.cvd updated (version: 333, sigs: 92, f-level: 63, builder: awillia2)
#

Scan for viri

Code: Select all

# clamscan /etc/ /bin/ /sbin/
Loading:    1m 22s, ETA:   0s [========================>]    8.65M/8.65M sigs    
Compiling:  13s, ETA:   0s [========================>]       41/41 tasks 

/etc/hosts: OK
/etc/asound.conf: OK
---- snio ---
/sbin/mount.aufs: OK
/sbin/umount.aufs: OK

----------- SCAN SUMMARY -----------
Known viruses: 8647323
Engine version: 1.0.0
Scanned directories: 3
Scanned files: 325
Infected files: 0
Data scanned: 29.89 MB
Data read: 22.49 MB (ratio 1.33:1)
Time: 123.258 sec (2 m 3 s)
Start Date: 2023:01:09 03:16:35
End Date:   2023:01:09 03:18:38
bigphil
Posts: 80
Joined: Tue Jul 21, 2020 12:56 pm
Location: Sunny Sussex
Has thanked: 10 times
Been thanked: 12 times

Re: How do you install Clamav?

Post by bigphil »

Thanks for the info. williams2, I followed your instructions and, voila, it's up and running.
Thanks again

phil.

Post Reply

Return to “Users”