Readers of the German computer magazine c't can download a free (as in beer, for private usage) version of LabVIEW 6.1 (see http://www.heise.de/newsticker/meldung/89763).

Installation on Ubuntu

The download is a zip-file. Unzip it with Archive Manager or on the command line:

unzip -x labviewlinux.zip
cd LabVIEW61Linux/

Convert the included .rpm packages to .deb packages:

sudo apt-get install alien fakeroot
fakeroot alien labview61-app-6.1-1.i386.rpm
fakeroot alien labview61-rte-6.1-1.i386.rpm       
...

(repeat for all the .rpm files you would like to install) You can now install the new .deb files by double-clicking on them, or on the command line:

sudo dpkg -i labview61-app_6.1-2_i386.deb
sudo dpkg -i labview61-rte_6.1-2_i386.deb
...

You can now throw away the rpm files or the whole LabVIEW61Linux directory. You may want to keep your new .deb files in case you need to reinstall or use them on another Ubuntu/Debian computer.

Post-installation configuration scripts

If you add --scripts to the alien commands above, it will translate the post-installation scripts from the .rpm packages into your .deb packages. However these scripts are not "clean" so I can't recommend them. For basic usage they are not needed. You can extract their contents and if needed do the steps manually like this:

rpm --queryformat "%{POSTIN}" -qp labview61-rte-6.1-1.i386.rpm

Starting LabVIEW

Start LabVIEW from the command line with:

LD_LIBRARY_PATH=/usr/local/lv61/linux /usr/local/lv61/labview

You can also create a desktop file with this contents:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Labview 6.1
Type=Application
Terminal=false
Exec=env LD_LIBRARY_PATH=/usr/local/lv61/linux /usr/local/lv61/labview
Icon=/usr/local/lv61/linux/icons/labview.xpm

(or just download this desktop file: Labview6.1.desktop)

Typical problems

If LabVIEW crashes when it loads, it's most likely this issue: Why Do I Get Segmentation Fault Errors When Installing LabVIEW 7.1 and Earlier on Linux? or LabVIEW 6.1 Running on Linux Kernel 2.6 Hangs at Startup Screen

Basically, run this command (replace /dev/hda1 with the disks where you have LabVIEW installed, or that LabVIEW will use):

sudo tune2fs -O "^dir_index" /dev/hda1

This will turn off an optimization for directories with huge numbers of files, but it shouldn't matter for desktop computers.

Alternatively, for people who can't or don't want to change the file system options, one can compile the spd_readdir.so wrapper from the mailing post of Theodore Ts'o, and start LabVIEW like this:

LD_PRELOAD=./spd_readdir.so LD_LIBRARY_PATH=/usr/local/lv61/linux /usr/local/lv61/labview

The wrapper reorders directory entries from readdir so that LabVIEW doesn't crash (in particular, "." and ".." come first).

Package overview


CategoryDocumentation

LabVIEW (last edited 2008-08-06 16:22:55 by localhost)