Hello all,
I am sure there are scientists and engineers who would like to install LabVIEW on their Ubuntu box, but have been unable to do so because the binaries are supplied as .rpm files, not .deb. The following is a short how-to that shows how I installed LabVIEW 8.2 on my Ubuntu 7.10 box.
The information I used originally came from the National Instruments forums:
http://forums.ni.com/ni/board/messag...129697#M284896
Specifically, there is the following link in that thread that leads to a how-to guide:
http://www.ilbazaar.netsons.org/2007...isty-fawn-704/
As you can tell from the URL, however, the guide is in Italian. Hopefully the following 'remastering' of the how-to will be of use to English-speakers. I have only tested this with LabVIEW 8.2 under Ubuntu 7.10, but the original thread suggests that the procedure outlined below should work with LabVIEW 8.0, 8.2, and 8.5 under Ubuntu 7.04 and 7.10.
Once installed, I found that all the front panel objects were present, and the majority of the block diagram (programming) functionality of LabVIEW was also available. Programming features were missing from 'Measurement I/O', 'Vision and Motion', 'Control Design and Simulation', and 'SignalExpress'. Perhaps these can be added from the Windows disks, although I have not tried it yet. I expect the functionality that can be achieved in the following guide will be sufficient for most people, however.
Good luck! 
Trafferth
Installing LabVIEW 8.2 under Ubuntu 7.10
The problem with installing LabVIEW 8.2 under Ubuntu is that it is distributed using .rpm (Red Hat Package Managment) files rather than Ubuntu's native .deb (Debian) format. This can be overcome using alien, as described below.
1. Open a terminal (Applications > Accessories > Terminal)
2. Make a temporary directory in your home folder:
3. Copy all .rpm files from CD main directory to a directory on the hard disk, e.g.:
Code:
cp /media/cdrom0/*.rpm ~/LV8pkg
4. Update apt:
Code:
sudo apt-get update
5. Install alien, libdb1-compat, and libosmesa6:
Code:
sudo apt-get install alien libdb1-compat libosmesa6
6. Navigate to the .rpm files on your hard drive:
7. Use alien on the .rpm files (each line is a separate command - the terminal's paste hotkey is <CTRL><SHIFT><V>):
Code:
sudo alien -k labview82-appbuild_8.2-1_i386.rpm
sudo alien -k --scripts labview82-core-8.2-1.i386.rpm
sudo alien -k --scripts labview82-desktop-8.2-1.i386.rpm
sudo alien -k labview82-examples-8.2-1.i386.rpm
sudo alien -k labview82-help-8.2-1.i386.rpm
sudo alien -k labview82-pro-8.2-1.i386.rpm
sudo alien -k labview82-ref-8.2-1.i386.rpm
sudo alien -k --scripts labview82-rte-8.2-1.i386.rpm
sudo alien -k labview82-vxi-8.2-1.i386.rpm
sudo alien -k --scripts labview-rte-aal-1.1-1.i386.rpm
sudo alien -k --scripts niexfinder-base-1.0-7.i386.rpm
sudo alien -k --scripts niexfinder-labview82-1.0-7.i386.rpm
sudo alien -k --scripts niwebpipeline20_dep-2.0-5.i586.rpm
The conversion procedure will take a while. Note that one of the 'niexfinder' commands may give an error about not being able to find the 'finder' directory, but this does not seem to affect the conversion.
8. Install each of the generated .deb files separately (again, each line is a separate command - the order is irrelevant):
Code:
sudo dpkg -i labview82-appbuild_8.2-1_i386.deb
sudo dpkg -i labview82-core-8.2-1.i386.deb
sudo dpkg -i labview82-desktop-8.2-1.i386.deb
sudo dpkg -i labview82-examples-8.2-1.i386.deb
sudo dpkg -i labview82-help-8.2-1.i386.deb
sudo dpkg -i labview82-pro-8.2-1.i386.deb
sudo dpkg -i labview82-ref-8.2-1.i386.deb
sudo dpkg -i labview82-rte-8.2-1.i386.deb
sudo dpkg -i labview82-vxi-8.2-1.i386.deb
sudo dpkg -i labview-rte-aal-1.1-1.i386.deb
sudo dpkg -i niexfinder-base-1.0-7.i386.deb
sudo dpkg -i niexfinder-labview82-1.0-7.i386.deb
sudo dpkg -i niwebpipeline20_dep-2.0-5.i586.deb
9. You can now close the terminal:
10. LabVIEW should now appear under Applications > Programming > LabVIEW 8.2
11. You may have to point LabVIEW at your web browser when attempting to find examples. If you are using Firefox it will be located at /usr/bin/firefox
Bookmarks