Installing NI Products Offline (openSUSE)
- Updated2025-07-30
- 2 minute(s) read
Installing NI Products Offline (openSUSE)
Install NI drivers and software on openSUSE offline.
- You have root permissions for the system.
- The system has internet access.
- The system is running the same distribution as the offline system on which you want to install.
-
On your online system, open the Command Prompt and run the following command to
install prerequisite software.
sudo zypper install python36 createrepo
-
Run the following command to apply the latest system updates to avoid
installation issues.
sudo zypper update
Note This command may update your kernel to the latest version. - Restart your system.
-
Open the Command Prompt and run the following command to install insserv.
sudo zypper install insserv
-
Run the following command to install the repository registration package.
sudo zypper --no-gpg-checks install ./filename.rpm
Where
- filename.rpm is the repository definition you chose in Installing NI Drivers and Software on Linux Desktop.
- Download the offline_rpm_repo.py script.
-
Complete the steps based on your goals.
Option Description Clone the entire repo - Run the following command to list all known and enabled
repositories on the system.
sudo zypper repos --show-enabled-only
Note On OpenSUSE Leap 15.2, the script requires the alias of the repository and not the name. - To clone the repository, run the following command from the
directory that contains the
script.
./offline_rpm_repo.py repo --norepopath repo-name
Where
- repo-name is the name of the repository.
By default, the script clones the new repository in the offline_repo subdirectory within the directory where the script runs. Pass the --output argument to specify a different location.
Create a repo for specific products Open the Command Prompt and run the following command. ./offline_rpm_repo.py packages package-names
Where
- package-names is a space-separated list of the package names you want to include.
By default, the script clones the new repository in the offline_repo subdirectory within the directory where the script runs. Pass the --output argument to specify a different location. - Run the following command to list all known and enabled
repositories on the system.
-
Copy the repository to the target system.
Note Choose a location that will not be modified accidentally.
-
Run the following command to disable GPG checking.
sudo zypper addrepo --no-gpgcheck --name repo-name file:///srv/offline_repo
Where
- repo-name is the name you give your repository.
Related Information
- Installing NI Drivers and Software on Linux Desktop
Download the repository registration package to allow the native package manager for your Linux distribution to install NI driver and software packages.
- offline_rpm_repo.py
- Installing NI Products (openSUSE)
Install NI drivers and software on openSUSE.