fai-setup command not found

In this troubleshooting guide we learn how to fix fai-setup command not found error message

Introduction

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

fai-setup: command not found

or when using sudo you get the following error message

sudo: fai-setup: command not found

Solutions to fai-setup: command not found

How To Fix fai-setup: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fai-setup is provided by fai-server package.

fai-server is:

FAI is a non-interactive system to install, customize and manage Linux systems and software configurations on computers as well as virtual machines and chroot environments, from small networks to large infrastructures and clusters.

It’s a tool for mass unattended Linux installation. You can take one or more virgin systems, turn on the power, and after a few minutes, the systems are installed, and completely configured to your exact needs, without any interaction necessary.

This package is needed for setting up a FAI install server for network installations, for running the dirinstall in a chroot environment, and to build installation CD/DVD’s and USB sticks.

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

sudo apt-get -y install fai-server

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

You can also use apt command to install fai-server.

sudo apt -y install fai-server

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

sudo aptitude install fai-server

Summary

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