Install Mcs On A Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS

Install Mcs On A Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS

mcs

Mono C# 2.0 / 3.0 / 4.0 / 5.0 compiler for CLI 2.0 / 4.0 / 4.5

Maintainer: Debian Mono Group



Section: cli-mono

Install mcs

  • Debian apt-get install mono-mcs Click to copy
  • Ubuntu apt-get install mono-mcs Click to copy
  • Arch Linux pacman -S mono-mcs Click to copy
  • Kali Linux apt-get install mono-mcs Click to copy
  • Fedora dnf install mono-mcs Click to copy
  • Raspbian apt-get install mono-mcs Click to copy
  • macOS brew install mono-mcs Click to copy

mono-mcs

Mono C# 2.0 / 3.0 / 4.0 / 5.0 compiler for CLI 2.0 / 4.0 / 4.5

This is the Mono C# (C-Sharp) 2.0, 3.0, 4.0 and 5.0 compiler, a platform-independent compiler which produces CIL (Common Intermediate Language) binary executables. This compiler targets the CLI 2.0, 4.0 or 4.5 runtime version. The mcs compiler supports different C# versions as follows. With C# 2.0 it supports: - generics - iterators (yield) - nullable value types - partial types - anonymous methods - static classes - coalesce operator: ?? With C# 3.0 it supports: - Language Integrated Query (LINQ) - object initializers - collection initializers - anonymous types - local variable type inference - implicitly-typed arrays - lambda expressions - automatic properties - extension methods - partial methods With C# 4.0 it supports: - dynamic binding (duck typing) - named and optional arguments - covariant and contravariant generic type parameters With C# 5.0 (which is the default) it supports: - asynchronous methods - caller info attributes (as of Mono 3.0 currently not supported!) Mono is a platform for running and developing applications based on the ECMA/ISO Standards. Mono is an open source effort led by Xamarin. Mono provides a complete CLR (Common Language Runtime) including compiler and runtime, which can produce and execute CIL (Common Intermediate Language) bytecode (aka assemblies), and a class library.

mono-core

code

mono

Free implementation of the .NET platform including runtime and compiler
To install the latest version of mcs in your favorite operating system just copy the mcs installation command from above and paste it into terminal. It will download and install the latest version of mcs 2026 package in your OS.