Skip to content

How to build and install

Nong Hoang Tu edited this page Jan 8, 2024 · 3 revisions

Requirements

Build dependencies

  • This tool bases on Nim (1.6.10), LibClamAV and LibYara, and can build with make. You must install nim, make, libclamav-dev, libyara-dev
  • There are some libraries that might be required when build like libssl-dev, libmagic-dev,... I don't have the full list of libraries for now.

Runtime dependencies

  • On Debian-based distro, libyara9 and libclamav11. It's recommended to have clamav-freshclam if you want to use ClamAV's database

Build

  1. Download or clone this project
  2. Run make build to compile binaries and databases. Binary and database is at build/release/
  3. Run sudo make install if you want to install this tool to your system.

Uninstall

Simply run sudo make uninstall or sudo rm /usr/bin/rkscanmal and sudo rm -r /usr/share/rkcheck/

Clone this wiki locally