live-boot command not found

In this troubleshooting guide we learn how to fix live-boot command not found error message

Introduction

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

live-boot: command not found

or when using sudo you get the following error message

sudo: live-boot: command not found

Solutions to live-boot: command not found

How To Fix live-boot: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu live-boot is provided by live-boot package.

live-boot is:

The Debian Live project maintains the components to build Debian based Live systems and the official Debian Live images themselves.

live-boot contains the components to configure a live system during the boot process (early userspace). Do not install this package on your regular system, it is only meant to be used in a live image.

In addition to live-boot, a backend for the initrd generation is required, such as live-boot-initramfs-tools.

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

sudo apt-get -y install live-boot

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

You can also use apt command to install live-boot.

sudo apt -y install live-boot

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

sudo aptitude install live-boot

Summary

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