Installing Yara on Mac OS X Maverick

From Zam Wiki
Jump to: navigation, search

Get Homebrew for Mac:


Get Yara 3.2.0 package from https://github.com/plusvic/yara/releases/latest


Then install yara-python extension:

  • cd yara-python
  • python setup.py build
  • sudo python setup.py install


If it is a success, let's do some testing on yara and yara-python.

  • Test yara
$ yara -v
  yara 3.2.0 


  • Test yara-python
$ python -c "import yara;print yara.__file__"
  /usr/local/lib/python2.7/site-packages/yara/__init__.pyc

Credit : http://raulf.blogspot.com/2014/02/yara-and-yara-editor.html