Download is about 6MB
-----------------------------------------------------------------------------------------------
Compiled in Bionicpup32 19.03
PET file available here
http://ibm-pc.org/puppy/bionic/clamav-0 ... onic32.pet
md5 checksum 9a9b1a62a18de2a8eda75e24eb31fe3f
------------------------------------------------------------------------------------------------
Compiled in Xenialpup32 7.5
PET file available here
http://ibm-pc.org/puppy/xenial/clamav-0 ... nial32.pet
md5 checksum 9ea1bfd4375f4be3d039ac84e59ae1e4
-------------------------------------------------------------------------------------------------
Compiled in tahrpup32 6.0.6
PET file available here
http://ibm-pc.org/puppy/tahr/clamav-0.102.3_tahr32.pet
md5 checksum db386a048ec72e1629b4f858b3f42292
-------------------------------------------------------------------------------------------------
There are two different methods to run this program, either the terminal (command line) or from a
menu available as a seperate download at the bottom of this post.
--------------------------------------------------------------------------------------------------
Running from the terminal
Install the pet, open a terminal and run the command freshclam to download the virus definition files. They are about 186MB total
Code: Select all
freshclam
None of these examples will remove or quarantine an infected file. It will only be reported on the terminal and logged to the scan.log
Removing infected files can break stuff so be careful if you decide to do that and keep backups.
To scan the partition you are running puppy from - that partition will need to be designated /mnt/home in the command line parameter(see examples below)
To scan my sda1 partition (please note that I am running my puppy from a directory on sda1),
Code: Select all
clamscan --infected --recursive --remove=no /mnt/home --log=/usr/share/clamav/scan.log
Code: Select all
clamscan --infected --recursive --remove=no /mnt/sda2 --log=/usr/share/clamav/scan.log
Code: Select all
clamscan --infected --recursive --remove=no /mnt/sda3 --log=/usr/share/clamav/scan.log
Code: Select all
clamscan --infected --recursive --exclude-dir=^/sys --exclude-dir=^/dev --exclude-dir=^/proc --exclude-dir=^/root/.wine --exclude-dir=^/initrd/pup_rw/root/.wine/ --remove=no /mnt/home --log=/usr/share/clamav/scan.log
To get a list of command line parameters
Code: Select all
clamscan --help
The partition you are running puppy from will need to be designated /mnt/home in the command line, please read my reply in post #3 for further clarification.
There are many sites on the internet with scanning suggestions and help.
Scanning can become as complicated as you want.
The only way I have found to scan sda1 when my puppy is running from sda1 is scanning /mnt/home - I believe it has something to do with how eventmanager handles the drives.
Have fun!
####======== About the menu ========####
The menu program (Clamvtk 1.2) that was created by forum members nilsonmorales, josep2424 and mama21mama for clamav version 0.98 also works with the version 0.102.3 pet packages in this post.
I am putting this information here only to alert users to the availability of a menu program.
I do not recommend using a menu. It limits the scan options and automatically removes files that are identified as infected.
That can break programs so be aware.
The menu program will move infected files to ---> /opt/clamav/virus
That can be dangerous and break programs so be careful if you run the scan from this menu.
If you know what you are doing you can modify the menu scripts to scan however you want. That is not difficult but is beyond the scope of this post.
The menu does simplify usage and gets you away from the command line.
Check out the original post about their menu http://www.murga-linux.com/puppy/viewtopic.php?t=88656
If you do try the menu package install the PET packages in this order
It is important to install them in this order.
1. Install one of the clamav-0.102.3 .pet versions (clamav version you chose)
2. Install the clamvtk-1.2.pet (the menu program)
Have fun!
.