First, download the source package from http://www.codon.org.uk/~mjg59/vbetool/ and unpack the package.
Second, install needed packages:
# yum pciutils-devel pciutils-devel-static libx86-devel
During the building, it will try to find the libpci.a in a different location from whether it is installed. Make a softlink for it:
# ln -s /usr/lib/libpci.a /usr/local/lib/libpci.a
Last, configure, make and install vbetool in “standard” way:
$ ./configure $ make # make install