At present moment, usage of PrePostprocessor (PPP) is officially supported only for Windows. However, sometimes it is necessary to run PPP on Linux too. Actually, customers of FlowVision have such possibility due to special software for running of windows applications on Linux, like Wine. Let us consider, how to run PPP on Linux using Wine, on the example of Ubuntu 16.04.1, and you will be convinced how easily it is.
1. Downloading and installing Wine
First of all, it is necessary to download and install Wine. It can be downloaded on official Wine web site. Some of Linux systems, including Ubuntu, have Wine among standard repositories. Therefore you can just send command to install it and all will be downloaded automatically. For making this, you have to enter the following command to the terminal:
sudo apt-get install wine
then you have to print the password for the root. Note, that software will be downloaded from the internet, therefore your PC must have working internet connection. After Wine will be installed, you will have abilities to run application in Windows-compatibility mode.
2. Run FlowVision Windows-installer using Wine
Next step you should run FlowVision Windows-installer via Wine. For this purpose, make click of right mouse button on the executable file of the installer (FlowVision-x.xx.xx-windows-installer.exe, where x.xx.xx – version of FlowVision) and then choose “Open With Wine Windows Program…” (Fig. 1).
Fig.1. Run FlowVision Windows-installer using Wine
3. Installation of PPP and vcredist2010
Installation of FlowVision using Wine is similar to typical Windows installation.
It is recommended to use default installation directory for FlowVision software. In the window “Select Components” pick off all markers except Pre-Postprocessor and System libraries (Fig.2). You can also install Tutorial files if you need. Other modules you should not install using wine, they all must be installed from the standard FlowVision Linux-installer. At the end of installation, you will see likely the windows of Visual C++ Runtime Libraries 2010 (vcredist2010), which is necessary for running of PPP (Fig.3). Accept installation of this package. For 64-bit OS, installation of vcredist2010 will be prepared twice: first for 32 and second for 64-bit version. Probably, installation of vcredist2010 will be prepared silently, as it usual for Windows.
Fig. 2. Selection of FlowVision components for installation and running in Windows-compatibility mode.
Fig.3. Installation of vcredist2010.
4. Display of files of installed FlowVision
By default, Wine creates catalogues structure, which is typical for Windows system disk C, and locates it inside path
The directory .Wine is initially hidden folder. It is necessary to show hidden files and folders. For making this in Ubuntu you can use the combination Ctrl+h inside graphical file manager (Nautilus). The actual installation directory is specified during installation (look item 3) and by default it is:
/home/user/.wine/drive_c/Program Files (x86)/FlowVision-x.xx.xx
where x.xx.xx – version of FlowVision.
5. Run of PPP using Wine
Inside graphical file manager (Nautilus) follow to the FlowVision installation directory and run FvPPP.exe using Wine (Fig. 4). Now, uour PPP is run and ready to full-featured usage on Linux (Fig. 5)
Fig. 4. Run of FvPPP.exe using Wine.
Fig. 5. PPP on Linux launched via Wine.
6. Cautions and Limitations
- Run of PPP on Linux using Wine is not officially supported by developers of FlowVision and therefore it is not included to the testing cycle. It is necessary to use this unsupported feature carefully! Developers of FlowVision are not responsible for such usage of FlowVision software.
- Run of 64-bit Windows applications is not fully supported by Wine; therefore, it is not possible to run 64-bit PPP.
- You should install only PPP and Tutorial files using Wine, other modules can be installed from the standard FlowVision Linux-installer.
- You should not install modules of FlowVision from the standard Linux-installer into Wine path (/home/user/.wine/…).
- It is possible some features of Wine and FlowVision installation for other OS Linux.