[MonoDevelop] Deployment for desktop applications
Quandary
quandary82 at hailmail.net
Sat Oct 23 11:32:13 EDT 2010
You have a problem there.
First and foremost, there are several versions of Linux:
Mainly RedHat, Debian, ArchLinux, and Gentoo.
RedHat uses .rpm files,
Debian uses .deb files
Arch linux uses pacman packages
And Gentoo uses emerge ports.
Now, you can probably neglect Gentoo and Arch Linux, as Debian/Ubuntu
and RedHat are the big ones.
As far as Debian is concerned, all you need to do is create a folder,
and then create subfolders of installation folders where you want to put
your program, e.g. /opt/yourcompanyname/yourproduct, and put your
compiled files in there. Then you add the preinstallation and
postinstallation scripts (containing actions such as adding a gnome menu
entry [equivalent windows startmenu entry]) and the dependency textfile,
which contains references to mono.
Then you zip your folder contents and rename the zip file to .deb.
If you did it right, you'll be able to install your file on Debian via
dpkg -i yourpackagename.deb
apt/dpkg will then take care of installing mono first if it is not yet
installed. apt-get can also take care of automagically updating your
package, if you provide a repository entry with the installation.
I don't know much about rpm, but I think monodevelop commercial
additions let you create a redhat/suse installer file. If you want to do
it by hand, it should be similar to the debian process. It's not
difficult really, just get a .deb and a .rpm file, unzip them and look
at their structure.
Am 23.10.2010 16:26, schrieb Derek JW Cahusac de Caux:
> Hi - I'm new to MD and C# (thoroughly enjoying both) and am now at the
> stage where I'd like to 'package and ship' simple C# desktop
> applications to end users (on both Linux and Windows).
>
> These tutorials from Visual Studio look fairly good:
> http://msdn.microsoft.com/en-us/library/k3bb4tfd%28v=VS.100%29.aspx
> http://www.dreamincode.net/forums/topic/58021-deploying-a-c%23-application-visual-studio-setup-project/
>
> Any pointers to the equivalent guides in MD would be most appreciated.
>
> I really want to avoid asking end users to extract tarballs, drop down
> to Terminal and run " sudo ./configure && make && make install" if at
> all possible....
>
> Thnaks, Derek
> --
> Derek JW Cahusac de Caux
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20101023/c2ecbb67/attachment.html
More information about the Monodevelop-list
mailing list