Installing RPMs

Software Installation for Linux

product_line_custom
IntelĀ® PAC
Napatech SmartNIC
category
Software Installation Guide

Use this procedure to install the Napatech driver and tools from RPMs.

About this task

The package installer yum is used in this example. You can of course use your distributions preferred RPM package installer.

Unless you have GPG signed the RPMs, you may have to use the --nogpgcheck option with yum, for example:
$ sudo yum --nogpgcheck install nt-driver-3gd-x.y.z.build-short-sha1.dist.x86_64.rpm

Before you begin

Kernel headers for the running kernel are required if you do not install the nt-driver-3gd-modules package, or if you want to enable automatic rebuild of the kernel modules after kernel upgrades.

The tools profiling and monitoring depend on ncurses.

Steps

To install RPMs and enable ntservice to start at boot time:

Procedure

  1. If you have made the nt-driver-3gd-modules package optional, or if you want to enable automatic rebuild of the kernel modules after kernel upgrades, ensure that kernel headers for the running kernel are installed before installing the nt-driver-3gd package:
    $ sudo yum install kernel-devel-$(uname -r) gcc make
  2. Install the nt-driver-3gd-modules package, unless you have edited the spec file to make the nt-driver-3gd-modules package optional:
    $ sudo yum install nt-driver-3gd-modules-x.y.z.build-short-sha1.dist.x86_64.rpm
  3. Install the nt-driver-3gd package:
    $ sudo yum install nt-driver-3gd-x.y.z.build-short-sha1.dist.x86_64.rpm
  4. Optionally, install devel, examples, doc and tools packages:
    $ sudo yum install nt-driver-3gd-devel-x.y.z.build-short-sha1.dist.noarch.rpm
    $ sudo yum install nt-driver-3gd-examples-x.y.z.build-short-sha1.dist.noarch.rpm
    $ sudo yum install nt-driver-3gd-docs-x.y.z.build-short-sha1.dist.noarch.rpm
    $ sudo yum install nt-tools-3gd-x.y.z.build-short-sha1.dist.noarch.rpm
    $ sudo yum install nt-tools-3gd-docs-x.y.z.build-short-sha1.dist.noarch.rpm
  5. Enable ntservice to start at boot time:
    $ sudo systemctl enable ntservice