From fe00ad8cfc133ea8725f4672b080ccdb1db388f7 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 24 Oct 2019 21:50:27 +0200 Subject: Add doc on how to compile yara Prompted by jdnrg@ --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7f9b098..896ffcd 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,17 @@ and then passed to some dangerous function like `system`". ## Installation - [Install Yara](https://yara.readthedocs.io/en/stable/gettingstarted.html#compiling-and-installing-yara). This is also possible via some Linux package managers: -Debian: `sudo apt-get install yara` -Red Hat: `yum install yara` (requires the [EPEL repository](https://fedoraproject.org/wiki/EPEL)) + - Debian: `sudo apt-get install yara` + - Red Hat: `yum install yara` (requires the [EPEL repository](https://fedoraproject.org/wiki/EPEL)) + +You can also compile it from source: + +``` +git clone git@github.com:VirusTotal/yara.git +cd yara/ +YACC=bison ./configure +make +``` - Download php-malware-finder `git clone https://github.com/nbs-system/php-malware-finder.git` -- cgit v1.3