Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
2 ratings:
 4.5 out of 5   

Archived: Why Do I Get Uncompress Errors When Installing NI-VISA On RedHat 8?

This document has been archived and is no longer updated by National Instruments

Primary Software:
Primary Software Version: 2.2
Primary Software Fixed Version: N/A
Secondary Software: N/A


I logged in as root and placed the INSTALL and NICVISA_.TZ files in the same directory, after that I made sure the INSTALL script was executable by running chmod +x INSTALL. When I run ./INSTALL I see the following error message:

[root@pcp012038pcs aeboxen]# ./INSTALL

* NI-VISA for Linux/x86 *

This installer uses RPM to install the NI-VISA package.
You will need to be 'root' for this.
Red Hat Package Manager (RPM) version: 4.1.

By installing this package, you agree to the terms of the included
license file (license.txt). Would you like to view it now? [Ynq]
Retrieving license agreement. Please wait...
./INSTALL: line 178: uncompress: command not found
tar: license.txt: Not found in archive
tar: Error exit delayed from previous errors
/tmp/NICvisa.INS/license.txt: No such file or directory


The installer is trying to run "uncompress" which does not exist in some RedHat 8 installations. Edit the INSTALL file and replace every instance of "uncompress" with "gunzip", or add a function to the beginning of the INSTALL script like the following:


function uncompress () { gunzip "$@"; };

# This is the installation script for NI-VISA for Linux. It is strictly
# optional; advanced users may wish to simply install the RPM (or tar)
# files themselves.

Related Links:


Report Date: 01/22/2003
Last Updated: 11/20/2015
Document ID: 2TLF477Q

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit