Install android-libf2fs-utils-dev by entering the following commands in the terminal:
sudo apt update sudo apt install android-libf2fs-utils-dev
Android F2FS utility library - Development files
This package contains only libf2fs_utils which is composed of libf2fs_ioutils and libf2fs_dlutils. . This library is only used by fastboot currently. . This package contains the development files.