2010-10-08

LabVIEW 2009 (or SP1) Installation on Ubuntu Linux 9.10/10.04

by Forrest Sheng Bao http://fsbao.net

First, install rpm on your Ubuntu box

sudo apt-get install rpm

Then, mount the installation DVD. Since LabVIEW 2009, NI puts Linux version and Mac OS X version on the same DVD - Did they copy the idea from MATLAB? So it's a little bit tricky: http://ubuntuforums.org/showthread.php?t=1223545

I used this command. But it varies depending on your CDROM device name.
sudo mount /dev/sr0 /media/cdrom1 -t hfsplus

Now you are ready. Go to the directory where LabVIEW installation RPMs are. Run these commands sequencially. You can copy and paste them into your Terminal.

For LabVIEW 2009 SP1 (Spring 2010 update)

sudo rpm -ivh labview-2009-rte-9.0.1-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh labview-2009-core-9.0.1-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh labview-2009-appbuild-9.0.1-1.i386.rpm --force-debian
sudo rpm -ivh labview-2009-desktop-9.0.1-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh nisvcloc-9.0.1-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh labview-2009-help-9.0.1-1.i386.rpm --force-debian
sudo rpm -ivh labview-2009-examples-9.0.1-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh nilvmerge-9.0.1-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh nilvcompare-9.0.1-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh labview-2009-pro-9.0.1-1.i386.rpm --force-debian
sudo rpm -ivh labview-2009-ref-9.0.1-1.i386.rpm --force-debian
sudo rpm -ivh niwebpipeline20_dep-2.0-5.i586.rpm --nodeps --force-debian
sudo rpm -ivh niexfinder-base-1.0-17.i386.rpm --nodeps --force-debian
sudo rpm -ivh niexfinder-labview-2009-9.0.1-1.i386.rpm --nodeps --force-debian

For LabVIEW 2009 (Fall 2009 version), run below (just replacing version numbers in the filenames above accordingly):

sudo rpm -ivh labview-2009-rte-9.0.0-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh labview-2009-core-9.0.0-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh labview-2009-appbuild-9.0.0-1.i386.rpm --force-debian
sudo rpm -ivh labview-2009-desktop-9.0.0-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh nisvcloc-9.0.0-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh labview-2009-help-9.0.0-1.i386.rpm --force-debian
sudo rpm -ivh labview-2009-examples-9.0.0-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh nilvmerge-9.0.0-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh nilvcompare-9.0.0-1.i386.rpm --nodeps --force-debian
sudo rpm -ivh labview-2009-pro-9.0.0-1.i386.rpm --force-debian
sudo rpm -ivh labview-2009-ref-9.0.0-1.i386.rpm --force-debian
sudo rpm -ivh niwebpipeline20_dep-2.0-5.i586.rpm --nodeps --force-debian
sudo rpm -ivh niexfinder-base-1.0-15.i386.rpm --nodeps --force-debian
sudo rpm -ivh niexfinder-labview-2009-9.0.0-1.i386.rpm --nodeps --force-debian

Then you should have LabVIEW ready. You may move on to install other NI software on the DVD.

No comments: