znc-buildmod command not found

In this troubleshooting guide we learn how to fix znc-buildmod command not found error message

Introduction

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

znc-buildmod: command not found

or when using sudo you get the following error message

sudo: znc-buildmod: command not found

Solutions to znc-buildmod: command not found

How To Fix znc-buildmod: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu znc-buildmod is provided by znc-dev package.

znc-dev is:

znc is an IRC proxy. It runs as a daemon and connects to IRC server, then allows you to connect from a workstation and work as the user that is logged in to the IRC server. After you disconnect, it maintains the connection to the server. It acts like any normal IRC server, so you can use any IRC client to connect to it.

Some of its features include support for multiple users, multiple clients, and multiple IRC servers; playback buffers to catch up with what happened while you were detached, SSL encryption, DCC proxying, and a plugin interface with many plugins supporting other features.

This package contains the znc development headers for developing modules.

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

sudo apt-get -y install znc-dev

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

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

sudo apt -y install znc-dev

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

sudo aptitude install znc-dev

Summary

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