ninjahelper command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ninjahelper: command not found
or when using sudo you get the following error message
sudo: ninjahelper: command not found
Solutions to ninjahelper: command not found
How To Fix ninjahelper: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ninjahelper is provided by backupninja package.
backupninja is:
Backupninja lets you drop simple config files in /etc/backup.d to coordinate system backups. Backupninja is a master of many arts, including incremental remote filesystem backup, and MySQL backup. By creating simple drop-in handler scripts, backupninja can learn new skills. Backupninja is a silent flower blossom death strike to lost data.
In addition to backing up regular files, Backupninja has handlers to ease backing up: Maildir, MySQL, PostgreSQL, SVN, Trac, hardware and system information, as well as the output from custom shell scripts.
Backupninja currently supports common backup utilities, easing their configuration, currently supported are: rdiff-backup, duplicity, rsync, borgbackup, restic and CD/DVD.
Most handlers have their own dependencies/recommendations, shown in brackets below:
- dup [duplicity, trickle]
- rdiff [rdiff-backup]
- sys [debconf-utils, hwinfo, mdadm]
- makecd [genisoimage, wodim]
- rsync [rsync]
- svn [subversion]
- tar [bzip2]
- borg [borgbackup]
- restic [restic]
To fix this problem, we can install more using the command below.
sudo apt-get -y install backupninja
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install backupninja.
sudo apt -y install backupninja
Or if you have aptitude installed you can use the following command.
sudo aptitude install backupninja
Summary
In this tutorial we learn how to fix ninjahelper command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.