merge-info command not found

In this troubleshooting guide we learn how to fix merge-info command not found error message

Introduction

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

merge-info: command not found

or when using sudo you get the following error message

sudo: merge-info: command not found

Solutions to merge-info: command not found

How To Fix merge-info: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu merge-info is provided by xstow package.

xstow is:

XStow (like GNU Stow) is a program for managing the installation of software packages, keeping them separate (/usr/local/stow/emacs vs. /usr/local/stow/perl, for example) while making them appear to be installed in the same place (/usr/local).

The extended features include: creation of symlinks with absolute path names, traversal link support (create a link from /usr/share/man to /usr/man), multiple stow directories support, shell pattern matching, regular expressions support, and global settings via configuration files.

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

sudo apt-get -y install xstow

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

You can also use apt command to install xstow.

sudo apt -y install xstow

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

sudo aptitude install xstow

Summary

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