Install android-tools-mkbootimg by entering the following commands in the terminal:
sudo apt update sudo apt install android-tools-mkbootimg
Android tool to create Android boot images
Creates Android boot images that includes kernel image and ramdisk, in a special format which can be used with fastboot. . This package provides the mkbootimg command-line tool.