Installing LabVIEW on Debian Linux
I am no fan of LabVIEW for multiple reasons, but the truth is, it is hard to replace when it comes to instrument control. Installing it on a Debian machine (e.g. Ubuntu) is possible despite not being officially supported by National Instruments. Here is how to do it.
Comment out the line in ./INSTALL
script that makes installation of niwebpipeline
necessary for success:
#webpipepkg="$webpipebase-$NIWEBPIPELINEVERS.i386.rpm"
Install nisyscfg-runtime
manually:
cd ./dists/nisyscfg-runtime-18.0.0f0
sudo bash ./INSTALL "--no-prompt --accept-license --nodeps"
Comment out corresponding section in ./INSTALL
script (l. 1025-1030):
echo "Installing NI System Configuration Runtime..."
pushd "$CDPATH/dists/$nisyscfgdist" > /dev/null 2>&1
#/bin/sh ./INSTALL "--no-prompt --accept-license"
#InstallStatus=$?
InstallStatus=0
popd >/dev/null 2>&1
Finally, install LabVIEW:
sudo bash ./INSTALL
and make an alias:
alias labview='/usr/local/natinst/LabVIEW-2018-64/labview'
If anything goes wrong, you can try to inspect the execution with:
sudo bash -x ./INSTALL
Good luck!
comments powered by Disqus