Installing on Ubuntu - UG1586

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2025-11-03
Revision
1.31 English

A method that can be used on Ubuntu is as follows:

  1. Create a .deb package from the RPM:
    $ sudo alien -c onload-dkms-<version>.noarch.rpm

    You must use the -c option otherwise the driver binary will not be built.

  2. Make sure the .deb package is created:
    $ ls
    onload-dkms_<version>_all.deb    onload-dkms-<version>.noarch.rpm
  3. Install the .deb package (this takes a few minutes):
    $ sudo dpkg -i onload-dkms_<version>_all.deb

    This produces a lot of output while it builds the following components:

    sfc, sfc_affinity.ko, sfc_char.ko, sfc_resource.ko, and onload.ko.

Note: Instead of creating and installing a .deb package (1 - 3 above), you can use the alien command to install directly from the RPM:
$ sudo alien --scripts -i onload-dkms-<version>.noarch.rpm

This produces a lot of output similar to the previous method.

Note: Onload is now installed but the kernel modules are not yet loaded. Continue reading from Loading the Onload Drivers.