How to install vbetool on CentOS 6.6?

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

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
Editor’s note: This article has been updated to reflect current software versions as of 2026. Commands and package names have been revised accordingly.

Similar Posts

One Comment

  1. How to install on CentOS 7:

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

    2. CentOS7 doesn’t have libx86.h:
    yum install epel-release
    wget http://rpms.remirepo.net/enterprise/7/remi/x86_64/remi-release-7.7-1.el7.remi.noarch.rpm (You can download it from here: http://rpms.remirepo.net/enterprise/7/remi/x86_64/ – “remi-release…..rpm”)
    rpm -Uvh remi-release*rpm
    yum –enablerepo=remi install libx86-devel
    3. Download, install vbetool:
    wget http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-1.1.tar.gz
    tar -xvzf vbetool-1.1.tar.gz
    cd vbetool-1.1
    sudo ln -sf /usr/lib64/libpci.a /usr/local/lib/libpci.a
    ./configure
    make
    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 *