first going here and download the package:

Download the installer and extract it with the following command:

tar zxf niusrprio-installer-15.0.0.tar.gz 

The files will be extracted into a directory called niusrprio-installer.

To install the NI USRPRIO kernel modules and RPC server, run the following command:

sudo niusrprio-installer/INSTALL

Once everything is installed, run the following commands to enable use of the X300/X310 over PCI Express:

sudo /usr/local/bin/niusrprio_pcie start

ifconfig -a