Running Mono

Abstract

This document describes how to install mono on your Linux system from the source and describes some simple experiments you can perform with this installation.


Table of Contents
Introduction
Installing Mono
Running mono
Problems
Known Problems
Copyright and License

Introduction

Mono is an open source implementation of the Common Language Infrastructure (CLI) specified in ECMA standard 335. It comes with a C# compiler and provides an extensible platform to develop and run applications that are interoperable with Microsoft .NET.

Mono is not finished--it is a project still under development. As a result, installation and configuration may not be as smooth as you will be used to from other Linux applications. Nevertheless, mono is in a state that will allow you to get it up and running and gain experience with it--which is, I would suggest, a very smart thing to do.

This document is limited in the following sense: it describes how to download a 'stable' version of mono as a 'tarball' and get it to run on your computer. I'm also assuming you run mono on Linux rather than on Windows. All the examples have been tested on a 'vanilla' Red Hat 7.3 installation.

There are two items this document will not cover: the first is how to self host the mcs compiler under linux and the second is the graphical user environment which is implemented as GTK#. These two interesting topics are the subject of two more howto's that I'm planning.

This document is also less useful for two types of people.

This document is aimed at the mono beginner, and aims to present a complete view of a minimal installation, which will allow you to experiment with mono to some degree. It also describes some of those experiments. We expect that after reading this document you'll go on to do either of two things:

  1. Continue to contribute to the mono project in some shape or form. The website has some ideas and suggestions under the heading 'Contributing'.

  2. Continue to write applications that run in mono.

We hope this document will be useful to you in your first steps with mono. Happy hacking!

Credits / Contributors

This document was originally created by Jaime Anguiano Olarra, but has been extensively rewritten. Credits are due to

  • Jaime Anguiano Olarra for creating the original version of this document, and in fact the document that got me through installing mono for the first time.

  • My partner Margaret for support on my more exotic ventures.