Install libofapi0 by entering the following commands in the terminal:
sudo apt update sudo apt install libofapi0
OpenFirmware device-tree parsing library
oflib is a library designed to make the parsing of POWER and SPARC device-tree's (OpenFirmware) simple and fast. . It is useful for querying the hardware of the current system in applications for Apple, IBM and SUN machines.