svinitd-create command not found

In this troubleshooting guide we learn how to fix svinitd-create command not found error message

Introduction

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

svinitd-create: command not found

or when using sudo you get the following error message

sudo: svinitd-create: command not found

Solutions to svinitd-create: command not found

How To Fix svinitd-create: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu svinitd-create is provided by svtools package.

svtools is:

This package provides some useful utilities to maintain supervised services and to handle multilog log files:

svdir: Find daemontools service directory. svinfo: Get infos about a supervised process. svinitd: init.d weapper for daemontools services. svinitd-create: Create an init.d-script for a supervices process. svsetup: Service setup tool for daemontools. mlcat: cat frontend for multilog files. mlhead: head frontend for multilog files. mltail: tail frontend for multilog files.

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

sudo apt-get -y install svtools

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

You can also use apt command to install svtools.

sudo apt -y install svtools

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

sudo aptitude install svtools

Summary

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