di-netboot-assistant command not found

In this troubleshooting guide we learn how to fix di-netboot-assistant command not found error message

Introduction

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

di-netboot-assistant: command not found

or when using sudo you get the following error message

sudo: di-netboot-assistant: command not found

Solutions to di-netboot-assistant: command not found

How To Fix di-netboot-assistant: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu di-netboot-assistant is provided by di-netboot-assistant package.

di-netboot-assistant is:

di-netboot-assistant is a tool to simplify the preparation of files for TFTP net booting. It downloads and extracts the files needed and takes care of organizing them. The packaged netboot installer as well as Debian Live ISO images are supported too. di-netboot-assistant prepares a top level menu for PXElinux and grub-efi. This allows one to choose from all installed netboot and Debian Live images at boot time.

di-netboot-assistant supports preseeding the installer in order to set up systems completely automatically.

Install grub-efi-amd64-bin to build EFI boot images, and for secure boot support install grub-efi-amd64-signed and shim-signed.

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

sudo apt-get -y install di-netboot-assistant

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

You can also use apt command to install di-netboot-assistant.

sudo apt -y install di-netboot-assistant

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

sudo aptitude install di-netboot-assistant

Summary

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