Introduction


The newer version 5, which is published on GitHub ( https://github.com/iplus-framework ) runs on Linux natively as a console application or Linux service (without GUI).

To do this, you need to install the .net runtime on Linux. Pay attention to what .NET version. As at 01.10.2024 we use .NET 8:

https://learn.microsoft.com/en-us/dotnet/core/install/linux

For Ubuntu, you can perform the following commands:

sudo apt-get install -y dotnet-runtime-8.0

 

Compile iplus in Visual-Studio or publish the console application (gip.iplus.console or gip.mes.console) or the service application (gip.iplus.service) as a self-contained application for linux-x64.

https://learn.microsoft.com/en-de/dotnet/core/deploying/

dotnet publish -r linux-x64 --self-contained false

 

Enter the console application or service execution rights:

sudo chmod +x gip.iplus.console

 

Start the application by passing the user and password parameter as described in the previous chapter:

./gip.iplus.console /U00 /P00

 

For setting up as a Linux service (gip.iplus.service) follow the instructions below:

https://devblogs.microsoft.com/dotnet/net-core-and-systemd/


As long as Microsoft WPF has not ported on Linux or we have switched to AvaloniUI, use Wine for Linux to use the desktop app on Linux.

https://www.winehq.org/

Please use the following instructions:

https://ccifra.github.io/PortingWPFAppsToLinux/Overview.html

 

Here in brief for Ubuntu:

Check what architecture they have with

dpkg --print-architecture

With the 64-bit version, they receive the output amd64. But then you need to allow 32-bit for Wine. Check with the command Whether it is already enabled:

dpkg --print-foreign-architectures

If you do not receive any i386 as output, run the following command:

sudo dpkg --add-architecture i386

Update all packages:

sudo apt-get update

Install WINE

sudo apt-get install wine32:i386

Check if wine 9.0 or higher has been installed:

wine --version

With this command, you can set up the environment variables, but this is not necessary:

wine winecfg

Download the dot-net runtime for Windows, switch to the directory where the installer is located and install it in the Wine environment with the following command:

https://dotnet.microsoft.com/en-us/download/dotnet/8.0

wine dotnet-sdk-8.0.404-winx64.exe

(Inserved that they install the same .net version which uses iplus currently (see GitHub)).

However, in order to run iplus, you need the right Windows fonts. You can install this using the additional tool winetricks (https://gitlab.wineq.org/wine/win knits ).

To do so, run the following command:

sudo apt-get install winetricks

Start winetricks

winetricks

A welcome dialog will appear. There, select "Install an application" and do not select an application and cancel the next step with Cancel. Then select "Install a font" and press ok. Choose all fonts. (Necessary is arial, calibri, consolas, courier, tahome, times, verdana, webdings.

Then copy the entire bin directory where iplus is compiled into a Linux directory for as a Windows desktop version (usually the net8.0-windows7.0 directory). Switch to terminal via terminal and start iplus with the command:

wine gip.iplus.client.exe

or

wine gip.mes.client.exe

 

ZorinOS

With ZorinOS you can make the Wine installation much easier by clicking directly on Wine support:

https://help.zorin.com/docs/apps-games/windows-app-support/

You can add fonts this way:

https://help.zorin.com/docs/system-software/microsoft-fonts/

You can then start the program directly from the file manager by double-clicking.