User Tools

Site Tools


Sidebar

nextnanomat

Support System

nextnano GmbH

intern

nnm:linux

Table of Contents

nextnanomat on Linux

nextnanomat is programmed in C#, and can thus be executed on any operating system. It is, however, developed on and optimized for Windows. On Linux, you have to either install Mono or Wine and then execute nextnanomat.

Status 2018-05-03: Recommended to use Wine as described below.

Mono

mono nextnanomat.exe & 

On some Linux distributions (e.g. Ubuntu), Mono is already preinstalled.

The current Mono version uses .NET Framework version 4.0 by default. nextnanomat, however, still requires the installation of the .NET Framework version 2.0. Therefore the following error occurs:

The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/2.0/mscorlib.dll' directory.

The following solution works:

sudo apt-get install libmono-corlib2.0-cil
sudo apt-get install libmono-winforms2.0-cil
sudo apt-get install mono-complete

All nextnanomat features seem to work on Linux Ubuntu. However, what does not work satisfactorily is the coloring of the 2D plots. They look too bright, so one can hardly recognize the results. A quick fix is to activate “Show grid”. Then the figure looks better.

Wine

The following instructions are for the Ubuntu version 18.04 LTS. We strongly recommend to use the same version!

Run commands in a terminal:

sudo apt update      # Update system 
sudo apt install wine-stable winetricks # Install required packages (without "-stable" in versions bevore Ubuntu 16.10)
winetricks dotnet45  # Install .net support, follow along on-screen instructions, ignore warnings
winetricks corefonts # Install basic fonts of Windows

Finally run winecfg → Select “Windows 8” in Applications → Windows Version and reboot afterwards.

To start the application, use wine /<your_directory_name>/nextnanomat.exe

Example: wine '/home/ubuntu/nextnanoTestversion/nextnanomat.exe'

If you find further bugs, please contact support@nextnano.com.

nnm/linux.txt · Last modified: 2018/07/26 12:21 by stefan.birner