yara_mapper command not found

In this troubleshooting guide we learn how to fix yara_mapper command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

yara_mapper: command not found

or when using sudo you get the following error message

sudo: yara_mapper: command not found

Solutions to yara_mapper: command not found

How To Fix yara_mapper: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu yara_mapper is provided by seqan-apps package.

seqan-apps is:

SeqAn is a C++ template library of efficient algorithms and data structures for the analysis of sequences with the focus on biological data. This library applies a unique generic design that guarantees high performance, generality, extensibility, and integration with other libraries. SeqAn is easy to use and simplifies the development of new software tools with a minimal loss of performance. This package contains the applications dfi, pair_align, micro_razers, seqan_tcoffee, seqcons, razers and tree_recon.

To fix this problem, we can install more using the command below.

sudo apt-get -y install seqan-apps

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install seqan-apps.

sudo apt -y install seqan-apps

Or if you have aptitude installed you can use the following command.

sudo aptitude install seqan-apps

Summary

In this tutorial we learn how to fix yara_mapper command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.