yaz-asncomp command not found

In this troubleshooting guide we learn how to fix yaz-asncomp command not found error message

Introduction

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

yaz-asncomp: command not found

or when using sudo you get the following error message

sudo: yaz-asncomp: command not found

Solutions to yaz-asncomp: command not found

How To Fix yaz-asncomp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu yaz-asncomp is provided by libyaz-dev package.

libyaz-dev is:

YAZ is a toolkit for the development of client and server software built around the ANSI Z39.50 (ISO 23950) standard for information retrieval.

YAZ supports Z39.50-2003 (version 3), SRU versions 1.1 to 2.0, and the industry standard ZOOM API for Z39.50.

This package includes development libraries and C/C++ header files.

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

sudo apt-get -y install libyaz-dev

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

You can also use apt command to install libyaz-dev.

sudo apt -y install libyaz-dev

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

sudo aptitude install libyaz-dev

Summary

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