How to deploy Mono Winforms application for Suse Linux 11.0 Server Enterprise?

Is there a way to make a simple installer that includes the necessary time intervals and dependency packages and creates an icon in the OpenSuse menu so that the application "just works"?

The actual application is just an executable file (.EXE) and several support files (mostly XML and CSV).

I already have an application that successfully builds and runs in MonoDevelop 2.0.

I initially tried to install Mono Runtime via zypper from the following repository http://ftp.novell.com/pub/mono/download-stable/openSUSE_11.0 , but quickly got bogged down in missing package dependencies.


This is what happens when I try to use zypper to set the Mono runtime:

linux-lkfu:~ # zypper addrepo http://ftp.novell.com/pub/mono/download-stable/SLE_11 mono-stable
Adding repository 'mono-stable' [done]
Repository 'mono-stable' successfully added
Enabled: Yes
Autorefresh: No
URI: http://ftp.novell.com/pub/mono/download-stable/SLE_11

linux-lkfu:~ # zypper refresh --repo mono-stable
Retrieving repository 'mono-stable' metadata [done]
Building repository 'mono-stable' cache [done]
Specified repositories have been refreshed.
linux-lkfu:~ # zypper dist-upgrade --repo mono-stable
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
Nothing to do.
linux-lkfu:~ #

, : " ". , - .

+3
3

- SLES 11 Novell. , -.

SLES. http://ftp.novell.com/pub/mono/download-stable/SLE_11

:

zypper addrepo http://ftp.novell.com/pub/mono/download-stable/SLE_11 mono-stable
zypper refresh --repo mono-stable
zypper dist-upgrade --repo mono-stable
+2

Visual Studio, Mono Tools Visual Studio, . 30 .

http://go-mono.com/monotools/

+2

it depends on how you plan to pack them. Either you create manually (deb for Debian and Ubuntu, rpm for Fedora and openSUSE, or something else).

Personally, I believe that at first you can simply add .sh to your ZIP package and ask end users to run it for dependency checking, installation, etc.

Then you can learn about packaging methods.

+1
source

Source: https://habr.com/ru/post/1742745/


All Articles