https://yara.readthedocs.io/en/stable/gettingstarted.html https://materials.rangeforce.com/tutorial/2020/02/19/Malware-Detection-using-YARA/ https://github.com/VirusTotal/yara/releases download the source tarball from the above github link which is yara-4.1.3.tar.gz install the following dependencies: sudo apt-get install automake libtool make gcc pkg-config autoconf libssl-dev libmagic-dev now as you already download the source tarball, so now its time for get it prepared for compilation: tar -zxf yara-4.1.3.tar.gz cd yara-4.1.3 ./bootstrap.sh Next, compile and install YARA: ./configure --with-crypto --enable-magic make sudo make install Update shared libraries: sudo ldconfig At last, check that everything is installed correctly by running the test cases: make check Avi