Skip to content

Installing Required Tools and Libraries

To create the binary RPM the required packages to compile, build the kernel, and build the RPM must be installed. The packages may differ based on the Linux distributions running on the host workstation.

Notes

  • If the kernel-devel or kernel-default-devel package must be installed, ensure you install the version compatible with the kernel installed on the workstation. If you install the wrong version, the driver fails to build and the error message install: cannot start `pcoip_host.ko': No such file or directory appears while installing the RPM file created by the createRPM script. See Requirements for which Linux distributions (kernel-devels) are supported.

  • Non-root users can install the fakeroot package to run the createRPM script.

CentOS 7 or RHEL 7

Open a terminal and type:

sudo yum install gcc make
sudo yum install "kernel-devel-uname-r == $(uname -r)"
sudo yum install elfutils-libelf-devel
sudo yum install qt5-qtbase qt5-qtbase-gui
sudo yum install python3
sudo yum install rpm-build

RHEL 8 or Rocky Linux 8

  1. Open a terminal and run the following commands.

    sudo dnf install gcc make
    sudo dnf install kernel-devel-$(uname -r)
    sudo dnf install elfutils-libelf-devel
    sudo dnf install qt5-qtbase qt5-qtbase-gui
    sudo dnf install python3
    sudo dnf install rpm-build
    sudo dnf install gnome-shell-extension-top-icons gnome-tweaks
    
  2. From the terminal run Tweaks.

    gnome-tweaks

  3. Enable Top icons from the Tweaks enabled Extensions window.

    Gnome Tweaks UI

    !!! tip 'No top icons" If Top icons does not display, reboot the host workstation.