Install libofapi-example by entering the following commands in the terminal:
sudo apt update sudo apt install libofapi-example
OpenFirmware device-tree parsing library [example files]
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. . Example applications are included to show some of its capabilities.