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

Property Value
Distribution Ubuntu 19.04 (Disco Dingo)
Repository Ubuntu Universe amd64
Package filename mono-mcs_5.18.0.240+dfsg-2ubuntu2_all.deb
Package name mono-mcs
Package version
Package release 2ubuntu2
Package architecture all
Package type deb
Category universe/devel
License -
Maintainer Ubuntu Developers <>
Download size 523.54 KB
Installed size 1.93 MB
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.


Package Version Architecture Repository
mono-mcs_5.18.0.240+dfsg-2ubuntu2_all.deb all Ubuntu Universe
mono-mcs - - -


Name Value
libc0.1 >= 2.29
libc6 >= 2.29
libc6.1 >= 2.29
libmono-corlib4.5-cil <<
libmono-corlib4.5-cil >=
libmono-microsoft-csharp4.0-cil -
libmono-system-core4.0-cil >=
libmono-system-xml4.0-cil >=
libmono-system4.0-cil >=
mono-runtime >= 3.0~


Name Value
mono-devel <<
mono-dmcs << 3.0~
mono-gmcs << 3.0~


Type URL
Binary Package mono-mcs_5.18.0.240+dfsg-2ubuntu2_all.deb
Source Package mono

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install mono-mcs deb package:
    # sudo apt-get install mono-mcs




2019-04-17 - Dimitri John Ledkov <>
mono ( disco; urgency=medium
* Disable pie on s390x.
2019-04-17 - Steve Langasek <>
mono ( disco; urgency=low
* Merge from Debian unstable.  Remaining changes:
- Build with -O0 on s390x, as otherwise it fails to bootstrap.
2019-01-26 - Jo Shields <>
mono ( unstable; urgency=medium
* [fcb8084] Add missing libmono-system-native (Closes: #920531)
* [8b705cf] Don't call cert-sync if it doesn't exist (Closes: #902663)
* [0514d12] Try fixing kFreeBSD building
2019-01-18 - Jo Shields <>
mono ( unstable; urgency=medium
[ Jo Shields ]
* [c67387f] New upstream version
* [7a3d16f] Add reference-assemblies-with-csc patch for v4.7.2
* [5d42c62] Reorder rules so it's possible to override CFLAGS/CXXFLAGS 
* [c1147ec] Let's not worry about LLVM for now
* [d6ff03e] Don't override GCC to 5.5 on s390x
* [e0fb8de] Enable BTLS on ppc64el
* [c842d23] Use provided mono-api-diff.exe
* [f262b7e] Install v4.7.2 API
* [871c1b3] Refreshed symbols
* [89d55c3] Use langversion 7.2 for tests (7.3 needs Roslyn)
* [ae548db] Disallow directory traversal (Closes: CVE-2018-1002208)
* [de5aae0] Switch internal dh_clideps to use ikdasm
* [b518c84] Add v4.7.2 API to dh_clideps excludes
* [be0afd7] -fstack-protector-strong breaks s390x on PIC-default gcc. 
Remove it there. (Closes: #919371)
* [73b4472] Refreshed clilibs
[ Neale Ferguson ]
* [753ee8c] Fix s390x build broken by incorrect specification of the 
msgfi instuc… (#10026)
Fix s390x build broken by incorrect specification of the msgfi
instruction used in MUL_IMM type operations. The instruction had 
been encoded as its 32-bit counterpart (msfi).
In addition, the s390x microcode makes the 
mono_strength_reduction_division unnecessary so this can be bypassed.
The change to basic.make is just to avoid error messages when 
basic-profile-check.exe hasn't been built yet.
* [cb37e0b] Simplify retrieving TLS offset
* [fecfbf8] Cater for later glibc use of ucontext
* [cc78fc2] Missing include
2019-01-12 - Jo Shields <>
mono ( unstable; urgency=medium
* No-change rebuild (Closes: #919031)
2019-01-11 - Jeremy Bicha <>
mono ( disco; urgency=medium
* Sync with Debian (LP: #1762310, LP: #1797727). Remaining change:
- Build with -O0 on s390x, as otherwise it fails to bootstrap.

See Also

Package Description
mono-profiler_4.2-3_all.deb Mono profiler
mono-reference-assemblies-2.0_3.12.1+dfsg-2_all.deb Mono runtime - compiler compatibility for .NET 2.0
mono-reference-assemblies-3.5_3.12.1+dfsg-2_all.deb Mono runtime - compiler compatibility for .NET 3.5
mono-reference-assemblies-4.0_3.12.1+dfsg-2_all.deb Mono runtime - compiler compatibility for .NET 4.0
mono-runtime-boehm_5.18.0.240+dfsg-2ubuntu2_amd64.deb Mono runtime - Boehm
mono-runtime-common_5.18.0.240+dfsg-2ubuntu2_amd64.deb Mono runtime - common files
mono-runtime-sgen_5.18.0.240+dfsg-2ubuntu2_amd64.deb Mono runtime - SGen
mono-runtime_5.18.0.240+dfsg-2ubuntu2_amd64.deb Mono runtime - default version
mono-source_5.18.0.240+dfsg-2ubuntu2_all.deb Mono source code
mono-tools-devel_4.2-3_all.deb Various development tools for mono
mono-tools-gui_4.2-3_all.deb Various GUI tools for mono
mono-upnp-bin_0.1.2-2build1_all.deb client/server libraries for UPnP -- executables
mono-utils_5.18.0.240+dfsg-2ubuntu2_amd64.deb Mono utilities
mono-vbnc_4.0.1-2_all.deb Mono Visual Basic Compiler (VB.NET)
mono-xbuild_5.18.0.240+dfsg-2ubuntu2_all.deb MSBuild-compatible build system for Mono