kylefarris / clamscan

A robust ClamAV virus scanning library supporting scanning files, directories, and streams with local sockets, local/remote TCP, and local clamscan/clamdscan binaries (with failover).
MIT License
236 stars 69 forks source link

Installation #2

Closed jshamley closed 10 years ago

jshamley commented 10 years ago

For installation, do you need to install ClamAV on to a local machine or server?

kylefarris commented 10 years ago

You will need the clamscan executable on your machine. You can easily install this and it's dependencies on most linux machines like so:

sudo yum install clamscan

or

sudo apt-get install clamscan

Hope that helps!

jshamley commented 10 years ago

Thank you very much!

-Jeff

On Jul 14, 2014, at 11:20 AM, Kyle Farris notifications@github.com wrote:

You will need the clamscan executable on your machine. You can easily install this and it's dependencies on most linux machines like so:

sudo yum install clamscan or

sudo apt-get install clamscan Hope that helps!

— Reply to this email directly or view it on GitHub.

kylefarris commented 10 years ago

You're welcome. I've updated the README as to prevent this type of confusion.

jshamley commented 9 years ago

Did you mean to put 'sudo apt-get install clamav'? That's how I was able to get mine working. Thank you very much for a very helpful module!

kylefarris commented 9 years ago

@jshamley You will need clamscan. Usually, as a dependency, that package includes clamav. If it does not, you will need to download that as the clamscan binary, and, hence, this module, do need that to work But, to be clear, clamscan is the executable that this package Node module directly requires to work.

jshamley commented 9 years ago

If I do a sudo apt-get install clamscan it cannot find the package, see error below. Performing a sudo apt-get install clamav installs clamscan at the proper location with all of the correct files and such.

$ sudo apt-get install clamscan
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package clamscan
kylefarris commented 9 years ago

What OS and version are you using?

kylefarris commented 9 years ago

Nevermind, my apologies. You are absolutely correct. It should be sudo apt-get install clamav. Thanks!

jshamley commented 9 years ago

no problem. thank you for the excellent module!

kylefarris commented 9 years ago

You're welcome, it's my pleasure.