Installation on Debian

Hello,

about one month ago I bought a 3D printer. For this printer the manufacturer included the SW Repetier Host Version 1.6.2.
I am using Linux on Debian environment.
The installation on Debian 7 (Linux Kernel 3.2) did not work. More in details, I could install the program w/o problem but the SW was not able to start correctly, no GUI, no feedback. nothing.
Instead of checking the reason of this problem I decided to install the new version of Debian, that is Debian 9 (LInux Kernel 4.9)

The question:
Before I repeat the installation with the new Debian SW I would like to know if I have to install anyway the Repetier Host Version 1.6.2 or the new one Version 2.05 is also possible.

Another question.
For the next version of Debian (sid, still unstable) is a version of Repetier Host already available.
Does it seem reasonable to try to install this SW for an unstable version of  Debian also on the actual version I am using?

Many thanks in advance for a feedback

best regards
Federico

Comments

  • Don't know what they want to include. Didn't know about that at all. My advice is installing 2.0.5 AppImage - that should give least problems as dependencies are included in the image. Do not forget to to run the -prepare option once before using it or you can not connect to printers.
  • Hi,

    many thanks for the feedback.

    At coming weekend I will try to install the 2.0.5 version.
    I will keep you informed, I think this info could be useful also for other users...

    Bye
    Federico
  • Hello,

    yesterday I tried to install the program repetierHost 2.0.5.

    Unfortunately there is some kind of problem.
    Just attached the report after executing the script configureFirst.sh (I removed some text in german or translated from german to english...)


    **********************************************
    $ sh configureFirst.sh
    System: i686
    Using 32 bit CuraEngine
    [sudo] Passwort für XXXXX:
    ....
    ....
    ....
    ....
    Paket libmono-winforms2.0-cil not available, referenced from other program
    ....
    ....
    Nevertheless the following paket 
      mono-reference-assemblies-2.0 mono-devel
    substitutes libmono-winforms2.0-cil

    E: for paket »libmono-winforms2.0-cil« there is no candidate for the installation.
    rm: '/usr/bin/repetierHost' cannot be removed; file or directory not found
    Checking if you are in the dialout group.
    0
    Adding user mctl03 to the dialout group.
    You need to login again in order to connect to your printer.
    Compiling helper software to allow non ansi baud rates for some boards
    depending on the used serial driver.
    configureFirst.sh: 52: configureFirst.sh: g++: not found
    Configuration finished.

    IMPORTANT: In addition to the bundled CuraEngine, the host also
    supports Slic3r, Slic3r Prusa Edition and Skeinforge. These slicers are not bundled, so
    need to install them according to their docs and then set the path
    to them in Repetier-Host.
    For Slic3r simply unpack the tar you get on http://slic3r.org in this directory.
    For Slic3r Prusa Edition check https://github.com/prusa3d/Slic3r/releases
    The host will then register and add it automatically on next restart.

    IMPORTANT: You need a recent mono version since the host uses .NET 4.0
    If you see the following error message, your mono is too old!
    >>> System.Windows.Forms.SplitContainer doesn't implement interface System.ComponentModel.ISupportInitialize <<<
    This folder now contains a repetier-RepetierHost.desktop file
    Copy it to your desktop to get a launch icon there


    **********************************************

    If I try to run repetierHost from the terminal an error message is generated, that is "mono" is missing, the program cannot be executed

    Another problem: there is no icon of the program available or that can be seen

    Do you have any idea what is the solution?

    Many thanks in advance for the feedback

    BR
    Federico

  • Better use the AppImage instead, that alraedy contains the mono libraries. Problem here is that newer linux distros now have renamed the required libraries. My current install command would be 
    sudo apt-get install build-essential mono-complete libmono-winforms2.0-cil monodevelop libmono-system-serviceprocess4.0-cil
    I think the last one might be missing.

    Then it tries to compile a file but you have no g++ compiler installed. No big deal if the precompiled version works under your linux. And it seems to be newer so it should find required libraries.

    Icon description is created as repetier-RepetierHost.desktop file.
    It gets installed with
    sudo desktop-file-install --rebuild-mime-info-cache repetier-RepetierHost.desktop

    but if your desktop/linux requires different solution it will not appear. All the many linux versions are hard to handle, that is why we prefer the AppImage that is much more independent and also makes icons on first start.
  • Hello,

    sorry for late feedback, but I am ill at them moment.

    I have checked all of available libmono packages (around 62) under Debian, below reported:

    Package libmono-2.0-1
        stretch (stable) (cli-mono): Mono JIT library (Default version)
        4.6.2.7+dfsg-1: amd64 arm64 armel armhf i386 mipsel ppc64el s390x

    Package libmono-2.0-dev
        stretch (stable) (cli-mono): Mono JIT library - Development files (Default version)
        4.6.2.7+dfsg-1: amd64 arm64 armel armhf i386 mipsel ppc64el s390x

    Package libmono-accessibility4.0-cil
        stretch (stable) (cli-mono): Mono Accessibility library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-addins-cil-dev
        stretch (stable) (cli-mono): addin framework for extensible CLI applications/libraries
        1.0+git20130406.adcd75b-4: all

    Package libmono-addins-gui-cil-dev
        stretch (stable) (cli-mono): GTK# frontend library for Mono.Addins
        1.0+git20130406.adcd75b-4: all

    Package libmono-addins-gui0.2-cil
        stretch (stable) (cli-mono): GTK# frontend library for Mono.Addins
        1.0+git20130406.adcd75b-4: all

    Package libmono-addins-msbuild-cil-dev
        stretch (stable) (cli-mono): MSBuild task library for Mono.Addins
        1.0+git20130406.adcd75b-4: all

    Package libmono-addins-msbuild0.2-cil
        stretch (stable) (cli-mono): MSBuild task library for Mono.Addins
        1.0+git20130406.adcd75b-4: all

    Package libmono-addins0.2-cil
        stretch (stable) (cli-mono): addin framework for extensible CLI applications/libraries
        1.0+git20130406.adcd75b-4: all

    Package libmono-cairo4.0-cil
        stretch (stable) (cli-mono): Mono Cairo library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-cecil-cil
        stretch (stable) (cli-mono): library to generate and inspect CIL assemblies
        0.9.5+dfsg-5: all

    Package libmono-cecil-cil-dev
        stretch (stable) (cli-mono): library to generate and inspect CIL assemblies
        0.9.5+dfsg-5: all

    Package libmono-cecil-flowanalysis-cil
        stretch (stable) (cli-mono): FlowAnalysis extension for Mono.Cecil
        0.1~vcs20110809.r1.b34edf6-3: all

    Package libmono-cecil-flowanalysis-cil-dev
        stretch (stable) (cli-mono): FlowAnalysis extension for Mono.Cecil
        0.1~vcs20110809.r1.b34edf6-3: all

    Package libmono-cecil-private-cil
        stretch (stable) (cli-mono): Mono.Cecil library
        4.6.2.7+dfsg-1: all

    Package libmono-cecil-vb0.9-cil
        stretch (stable) (cli-mono): Visual Basic 2012 Cecil libraries for Mono
        4.0.1-1: all

    Package libmono-cil-dev
        stretch (stable) (cli-mono): Mono Base Class Libraries (BCL) - Development files
        4.6.2.7+dfsg-1: all

    Package libmono-codecontracts4.0-cil
        stretch (stable) (cli-mono): Mono.CodeContracts library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-compilerservices-symbolwriter4.0-cil
        stretch (stable) (cli-mono): Mono.CompilerServices.SymbolWriter library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-corlib4.5-cil
        stretch (stable) (cli-mono): Mono core library (for CLI 4.5)
        4.6.2.7+dfsg-1: all

    Package libmono-cscompmgd0.0-cil
        stretch (stable) (cli-mono): Mono cscompmgd library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-csharp4.0c-cil
        stretch (stable) (cli-mono): Mono.CSharp library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-custommarshalers4.0-cil
        stretch (stable) (cli-mono): Mono CustomMarshalers library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-data-tds4.0-cil
        stretch (stable) (cli-mono): Mono Data Library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-db2-1.0-cil
        stretch (stable) (cli-mono): Mono DB2 library
        4.6.2.7+dfsg-1: all

    Package libmono-debugger-libs-cil-dev
        stretch (stable) (cli-mono): Mono soft debugger interface libraries - development headers
        0+20131201.3459502-1: all

    Package libmono-debugger-soft-cil
        stretch (stable) (cli-mono): Mono soft debugger interface libraries - low level API
        0+20131201.3459502-1: all

    Package libmono-debugger-soft4.0a-cil
        stretch (stable) (cli-mono): Mono Soft Debugger library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-debugging-cil
        stretch (stable) (cli-mono): Mono soft debugger interface libraries - API abstraction
        0+20131201.3459502-1: all

    Package libmono-debugging-soft-cil
        stretch (stable) (cli-mono): Mono soft debugger interface libraries - Mono.Debugging backend
        0+20131201.3459502-1: all

    Package libmono-fuse-cil
        stretch (stable) (cli-mono): CLI binding for FUSE
        0.4.2+dfsg-4: amd64 arm64 armel armhf i386 mipsel ppc64el s390x

    Package libmono-http4.0-cil
        stretch (stable) (cli-mono): Mono.Http library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-i18n-cjk4.0-cil
        stretch (stable) (cli-mono): Mono I18N.CJK library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-i18n-mideast4.0-cil
        stretch (stable) (cli-mono): Mono I18N.MidEast library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-i18n-other4.0-cil
        stretch (stable) (cli-mono): Mono I18N.Other library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-i18n-rare4.0-cil
        stretch (stable) (cli-mono): Mono I18N.Rare library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-i18n-west4.0-cil
        stretch (stable) (cli-mono): Mono I18N.West library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-i18n4.0-all
        stretch (stable) (cli-mono): Mono I18N libraries metapackage (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-i18n4.0-cil
        stretch (stable) (cli-mono): Mono I18N base library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-ldap4.0-cil
        stretch (stable) (cli-mono): Mono LDAP library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-management4.0-cil
        stretch (stable) (cli-mono): Mono Management library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-messaging-rabbitmq4.0-cil
        stretch (stable) (cli-mono): Mono Messaging RabbitMQ library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-messaging4.0-cil
        stretch (stable) (cli-mono): Mono Messaging library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-microsoft-build-engine4.0-cil
        stretch (stable) (cli-mono): Mono Microsoft.Build.Engine library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-microsoft-build-framework4.0-cil
        stretch (stable) (cli-mono): Mono Microsoft.Build.Framework library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-microsoft-build-tasks-v4.0-4.0-cil
        stretch (stable) (cli-mono): Mono Microsoft.Build.Tasks.v4.0 library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-microsoft-build-utilities-v4.0-4.0-cil
        stretch (stable) (cli-mono): Mono Microsoft.Build.Utilities.v4.0 library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-microsoft-build4.0-cil
        stretch (stable) (cli-mono): Mono Microsoft.Build library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-microsoft-csharp4.0-cil
        stretch (stable) (cli-mono): Mono Microsoft.CSharp library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-microsoft-visualbasic10.0-cil
        stretch (stable) (cli-mono): Visual Basic 2012 runtime libraries for Mono
        4.0.1-1: all

    Package libmono-microsoft-visualc10.0-cil
        stretch (stable) (cli-mono): Mono Microsoft.VisualC library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-microsoft-web-infrastructure1.0-cil
        stretch (stable) (cli-mono): Mono Microsoft.Web.Infrastructure library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-oracle4.0-cil
        stretch (stable) (cli-mono): Mono Oracle library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-parallel4.0-cil
        stretch (stable) (cli-mono): Mono.Parallel library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-peapi4.0a-cil
        stretch (stable) (cli-mono): Mono PEAPI library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-posix4.0-cil
        stretch (stable) (cli-mono): Mono.Posix library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-profiler
        stretch (stable) (cli-mono): Mono profiler libraries
        4.6.2.7+dfsg-1: amd64 arm64 armel armhf i386 mipsel ppc64el s390x

    Package libmono-profiler-gui-thread-check
        stretch (stable) (cli-mono): Mono profiler library to debug GUI threading issues
        2.99.3-2+b2: s390x
        2.99.3-2+b1: amd64 arm64 armel armhf i386 mipsel ppc64el

    Package libmono-rabbitmq4.0-cil
        stretch (stable) (cli-mono): Mono RabbitMQ.Client library (for CLI 4.0)
        4.6.2.7+dfsg-1: all

    Package libmono-reflection-cil
        stretch (stable) (cli-mono): CLI reflection helper library
        1.0+git20110407+d2343843-3: all

    Package libmono-reflection-cil-dev
        stretch (stable) (cli-mono): CLI reflection helper library
        1.0+git20110407+d2343843-3: all

    Package libmono-relaxng4.0-cil
        stretch (stable) (cli-mono): Mono Relaxng library (for CLI 4.0)
        4.6.2.7+dfsg-1: all
     
    Could you maybe suggest me the right packages to be installed?

    Many thanks in advance

    BR
    Federico
  • sudo apt-get install build-essential mono-complete libmono-winforms2.0-cil monodevelop libmono-system-serviceprocess4.0-cil
    is what I normally install and worked so far.
  • HI,

    i have just checked your list again, i.e.

    build-essential
    mono-complete
    libmono-winforms2.0-cil
    monodevelop
    libmono-system-serviceprocess4.0-cil

    All of the packages are available except the libmono-winforms2.0-cil.
    Suggested is to substitute this package with  mono-reference-assemblies-2.0. This package is related to .NET 2.0.
    There is also another possibility, i.e. mono-reference-assemblies-4.0 related to .NET 4.0
    What is the right one, version for .NET 2.0 or 4.0?

    Thank for feedback

    BR
    Federico


  • I'd take 4.0 version as we compile for .NET 4

  • Hello,

    finally I was able to run the program :-)

    For you and other people interested in installing this program on Debian 9 (stretch), the following packages must be installed:

    - build-essential
    - mono-complete
    - monodevelop
    - mono-reference-assemblies-4.0 (to substitute libmono-winforms2.0-cil)

    Other packages needed for the program repetierHost, i.e. mono-devel  (to substitute libmono-winforms2.0-cil) and libmono-system-serviceprocess4.0-cil are already included in mono-complete.

    Then I run the batch createDesktopIcon.sh and now it is also possible to have the icon available for starting the program by icon.

    Just a final point. If I start the program from the terminal the following messages appears:

    Gtk-Message: Failed to load module "canberra-gtk-module"
    libpng warning: iCCP: known incorrect sRGB profile

    Do you have any idea about the reason fo this message? What do I have to do in this case?

    Of course I have to check all of the functionalities of this program, but at least the program runs...

    Best regaads
    Federico



  • Good. I have extended the install list for next update.

    The sRGB profile is just a warning so worst that can happen is wrong gamma correction. I have seen this also in my case.
    Gtk-Message: Failed to load module "canberra-gtk-module"
    No idea where this comes from. Host is a windows software so does not use gtk at all. Of course mono uses gtk as window platform, so it will be part of the mono winform implementation. But seems not important if you did not see an error so far. Guess that would show quickly if we needed to use the parts of the library.
  • I am trying to get this running on Armbian, a debian 9 distro.

    I appear to be running mono version 5.14.0.177

    When I try to install mono-reference-assemblies-4.0, apt-get removes mono-complete and mono-devel, so I continue to get errors when I start RepetierHost. The initial window frames appear and some of the assets display ok, but there is alot left blank and then it crashes back to terminal.

    Any idea why I can't have all of these installed at the same time? Should I be using a specific version of mono? How would I install it?
  • Mono 5.x should contain everythign needed, but debian likes to split such things into many packages. You should start it from console so you see the error message and know if something and what is missing. That it should be easy to google what it is.
  • TL;DR file permissions could do with some love

    Hi, thanks for the reply.

    Most of the errors seemed to be loading Windows.Forms.* components, but the warning about libmono-winforms2.0.cil turned out to be a red herring which distracted me from realising the underlying issue...

    This is the process I followed that helped me determine the issue:

    unpack in /opt using sudo account
    run configureFirst.sh from the unpacked folder as sudo
    run createDesktopIcon.sh as local user

    The last stage generated a permissions error when trying to chmod the desktop file before copying it.  I ran again as sudo, but then went to change permissions of the ~/Desktop copy manually, which made me look at the permissions for all the files.

    I figured the exe files and possibly the dlls needed to be marked as executable for mono, so I set all files to 777 and then everything loaded properly.

    I'm not sure which files need which exact permissions at this stage, I may investigate further what the minimum safest settings are, but I suggest some additions to the configure script to at least allow the executables to execute.
  • The mix of sudo/not sudo surely created some permission problems. The exe do not run it's own and are loaded by mono so I think the x permission is not needed here. Normally you unpack in user directory and run as user then it works. I know it is not really the best installation method. The appimage is normally much easier as it contains mono and slicers, but only works on 64 bit intel/amd processors.
  • Hello.
    I wrote a bit about the installation on another forum.
    It's not difficult.
    Maybe it will help someone.
    ;)

Sign In or Register to comment.