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.
RHEL 8 or Rocky Linux 8¶
-
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
-
From the terminal run Tweaks.
gnome-tweaks
-
Enable Top icons from the Tweaks enabled Extensions window.
!!! tip 'No top icons" If Top icons does not display, reboot the host workstation.
RHEL 9 or Rocky Linux 9¶
-
Open a terminal and run the following commands.
dnf install "kernel-devel-uname-r == $(uname -r)" dnf install elfutils-libelf-devel dnf install make qt5-qtbase qt5-qtbase-gui dnf install initscripts dnf install chkconfig dnf install rpm-build flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak install flathub org.gnome.Extensions dnf install gnome-shell-extension-top-icons sudo reboot
-
From the terminal run Tweaks.
gnome-tweaks
-
Enable Top icons from the Tweaks enabled Extensions window.
!!! tip "No top icons" If Top icons does not display, reboot the host workstation.
Info
CentOS 7 and RHEL 7 reached end of life on June 30, 2024, and therefore, no longer supported.