Using the instructions in this thread:
How to Install LabVIEW Community Linux?
I attempted to install LabVIEW Community edition two different ways, and got errors with both of them.
My OS is Ubuntu 18.04.
Way 1:
I mounted the "v2020SP1community-linux.iso" file using the "Furious ISO Mount Tool". It mounted this iso file in my home directory, with the directory name: "lv2020SP1community-linux_iso".
I am confused by the above instructions to do this command:
cd ./STATIC/LabVIEW
I do not find a folder named "STATIC" anywhere. Was this to be created by me? If so where?
When I make that newly mounted directory the current directory and execute:
me@ubuntu:~/lv2020SP1community-linux_iso$./bin/INSTALL.norpm labview-2020-desktop-20.0.1-1.x86_64.rpm
I got a lot of permission errors from the script, and a message recommending to run it as root. So I tried using sudo and got his result:
me@ubuntu:~/lv2020SP1community-linux_iso$ sudo ./bin/INSTALL.norpm labview-2020-desktop-20.0.1-1.x86_64.rpm
sudo: ./bin/INSTALL.norpm: command not found
This is perplexing. Without sudo it considers "./bin/INSTALL.norpm" to be an executable command. With sudo it does not. I thought sudo, being the equivalent of executing a command as root, could do anything a regular user could do, and a lot more.
Way 2:
I decompressed the iso file and attempted an installation from the decompressed files:
I changed the current directory to the decompression's root directory, and gave all files in the ./bin subdirectory execute permissions using the File Manager. Then I executed these commands:
sudo mkdir /usr/local/natinst/
sudo chmod 755 /usr/local/natinst/
I executed the below command and got the errors that follow:
sudo ./bin/INSTALL.norpm labview-2020-desktop-20.0.1-1.x86_64.rpm
cat: /etc/natinst/share/share.dir: No such file or directory
cat: /etc/natinst/labview-2020-64/labview.dir: No such file or directory
cp: cannot stat '/etc/desktop/share/menus/natinst.menu': No such file or directory
cat: /etc/desktop/menus/natinst.menu: No such file or directory
chmod: cannot access '/etc/desktop/menus/natinst.menu': No such file or directory
sed: can't read /etc/desktop/menus/natinst.menu: No such file or directory
chmod: cannot access '/etc/desktop/menus/natinst.menu': No such file or directory
cp: cannot stat '/etc/desktop/share/dirs/natinst.directory': No such file or directory
cp: cannot stat '/etc/desktop/share/icons/natinst.png': No such file or directory
I/O warning : failed to load external entity "/usr/share/mime/packages/labview.xml"
gtk-update-icon-cache: Cache file created successfully.
Warning in file "/usr/share/applications/displaycal-vrml-to-x3d-converter.desktop": usage of MIME type "x-world/x-vrml" is discouraged (the use of "x-world" as media type is strongly discouraged in favor of a subtype of the "application" media type)
Could not parse file "/usr/share/applications/labview64-2020.desktop": No such file or directory
What is to be done about these errors?