How to install vbetool on CentOS 6.6?

I found CentOS 6.6 does not ship vbetool in its default repositories, EPEL or RPMfusion. How to install vbetool on CentOS 6.6?

First, download the source package from 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

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

One comment:

  1. How to install on CentOS 7:

    yum install pciutils-devel pciutils-devel-static libx86-devel gcc

    2. CentOS7 doesn’t have libx86.h:
    yum install epel-release
    wget (You can download it from here: – “remi-release…..rpm”)
    rpm -Uvh remi-release*rpm
    yum –enablerepo=remi install libx86-devel
    3. Download, install vbetool:
    tar -xvzf vbetool-1.1.tar.gz
    cd vbetool-1.1
    sudo ln -sf /usr/lib64/libpci.a /usr/local/lib/libpci.a
    make install

    4. If you have
    “mmap /dev/mem: Permission denied
    Failed to initialise LRMI (Linux Real-Mode Interface).”, then:
    setsebool -P mmap_low_allowed on

    5. It shoud work for poweroff monitor:
    sudo /usr/local/sbin/vbetool dpms off

Leave a Reply

Your email address will not be published. Required fields are marked *