Package for Linux

Once your application successfully runs on Mono on Linux, it's time to package it up for distribution.


Step 1:

Add a new item to your project.


Package for Linux - Step 1

Step 2:

Choose "Linux Package Definition".


Package for Linux - Step 2

Step 3:

On the "General" tab, fill out basic information about your package.


Package for Linux - Step 3

Step 4:

On the "Files" tab, add the files you wish to include in your package.


Hint: If you are packaging a GUI or Console Application, right click your startup executable and choose "Set as Startup Executable". This is the assembly that will get launched from your menu item.


Package for Linux - Step 4

Step 5:

On the "Dependencies" tab, you can set what Mono libraries or other packages your application depends on. You can also specify what dependencies your application provides.


Hint: If you click on the "Refresh" button, your assemblies will be scanned and your Mono dependencies will be automatically determined. You can then tweak them if you like.


Package for Linux - Step 5

Step 6:

Once you click "Build Package", your package will be built and ready for you (and your users) to install on SUSE Linux.


Package for Linux - Step 6