National Instruments 370551A-01 用户手册
© National Instruments Corporation
5-1
5
NI-VXI/NI-VISA Software
Installation
Installation
This chapter describes how to install and uninstall the NI-VXI/NI-VISA
software for Linux.
software for Linux.
Installing the NI-VXI/NI-VISA Software for Linux
Before you begin, you may need to install Linux on your computer. Refer
to the Linux documentation for instructions. After your computer is booted
into Linux, you are ready to install the NI-VXI/NI-VISA software.
to the Linux documentation for instructions. After your computer is booted
into Linux, you are ready to install the NI-VXI/NI-VISA software.
To install NI-VXI/NI-VISA for the PCI-MXI-2 for Linux, perform the
following steps:
following steps:
1.
Insert the NI-VXI/NI-VISA for Linux CD.
2.
Login to your system as
root
.
3.
Mount the CD-ROM.
4.
To change the current directory to the mounted CD-ROM, type the
following command:
following command:
cd/mnt/cdrom
5.
To run the installation script, type the following command:
./INSTALL
The
INSTALL
places NI-VXI and NI-VISA in their default locations.
The script uses
rpm
to install the packages on systems that support it or
extracts the files directly on other systems. The script also optionally
installs support for NI-VXI in LabVIEW.
installs support for NI-VXI in LabVIEW.
You also can install the RPM files without going through the
INSTALL
script by using
rpm
,
glint
, or
gnorpm
on RedHat or other RPM-based
systems. For example, to install NI-VXI in
/opt
on a RedHat 5.x system,
type the following command:
rpm --prefix=/opt/nivxi
-Uvh nivxi-pcimxi-1.6-1.i386.rpm