- Download
- Mono for macOS is available as a Mac Package (.pkg)
- 1 Add the Mono repository to your system
- Ubuntu 20.04 (amd64, armhf, arm64, ppc64el)
- Ubuntu 18.04 (i386, amd64, armhf, arm64, ppc64el)
- Ubuntu 16.04 (i386, amd64, armhf, arm64, ppc64el)
- 2 Install Mono
- 3 Verify Installation
- Notes
- 1 Add the Mono repository to your system
- Debian 10 (i386, amd64, armhf, arm64, armel, ppc64el)
- Debian 9 (i386, amd64, armhf, arm64, armel, ppc64el)
- 2 Install Mono
- 3 Verify Installation
- Notes
- 1 Add the Mono repository to your system
- Raspbian 10 (armhf)
- Raspbian 9 (armhf)
- 2 Install Mono
- 3 Verify Installation
- Notes
- 1 Add the Mono repository to your system
- CentOS/RHEL 8 (x86_64)
- CentOS/RHEL 7 (x86_64)
- CentOS/RHEL 6 (x86_64, i686)
- 2 Install Mono
- 3 Verify Installation
- 1 Add the Mono repository to your system
- Fedora 29 and later (x86_64)
- Fedora 28 (x86_64)
- 2 Install Mono
- 3 Verify Installation
- Mono for Windows is available as a Windows Installer file
- Mono is available on Docker Hub
- Available tags
- Release Notes
- MonoDevelop IDE
- Older releases
- How to install Mono on Linux Mint
- About Martin Brinkmann
- Related content
- Disabling the Nouveau open-source Nvidia driver to use the proprietary driver in OpenSUSE Leap 15.3
- Linux Mint 20.2 is now available
- Ubuntu 21.04 is now available with native Microsoft Active Directory integration and Wayland as the default
- Microsoft introduces support for Linux GUI apps on Windows 10
- Linux Mint will inform users about important security updates but not enforce them
- Microsoft Edge 91 will be the first to support syncing on Linux
- Comments
Download
The latest Stable Mono release is: 6.12.0 Stable (6.12.0.122)
Please choose your operating system to view the available packages. Source code is available on GitHub (viewing only) or as a Tarball.
macOS Linux Windows Docker
Mono for macOS is available as a Mac Package (.pkg)
Please refer to the installation guide for more information about how to install and configure your Mono environment.
Supported on macOS 10.9 and later. Check the uninstall instructions if you want to remove Mono from your Mac.
* We recommend this package if you’re using Visual Studio for Mac since the stability of Visual Studio for Mac is only guaranteed with the Visual Studio channel releases.
1 Add the Mono repository to your system
The package repository hosts the packages you need, add it with the following commands.
Note: the packages should work on newer Ubuntu versions too but we only test the ones listed below.
Ubuntu 20.04 (amd64, armhf, arm64, ppc64el)
Ubuntu 18.04 (i386, amd64, armhf, arm64, ppc64el)
Ubuntu 16.04 (i386, amd64, armhf, arm64, ppc64el)
2 Install Mono
The package mono-devel should be installed to compile code.
The package mono-complete should be installed to install everything — this should cover most cases of «assembly not found» errors.
The package mono-dbg should be installed to get debugging symbols for framework libraries — allowing you to get line numbers in stack traces.
The package referenceassemblies-pcl should be installed for PCL compilation support — this will resolve most cases of «Framework not installed: .NETPortable» errors during software compilation.
The package ca-certificates-mono should be installed to get SSL certificates for HTTPS connections. Install this package if you run into trouble making HTTPS connections.
The package mono-xsp4 should be installed for running ASP.NET applications.
3 Verify Installation
After the installation completed successfully, it’s a good idea to run through the basic hello world examples on this page to verify Mono is working correctly.
Notes
Mono on Linux before 3.12 by default didn’t trust any SSL certificates so you got errors when accessing HTTPS resources. This is not required anymore as 3.12 and later include a new tool that runs on package installation and syncs Mono’s certificate store with the system certificate store (on older versions you had to import Mozilla’s list of trusted certificates by running mozroots —import —sync ). Some systems are configured in a way so that the necessary package isn’t pulled in when Mono is installed, in those cases make sure the ca-certificates-mono package is installed.
1 Add the Mono repository to your system
The package repository hosts the packages you need, add it with the following commands.
Note: the packages should work on newer Debian versions too but we only test the ones listed below.
Debian 10 (i386, amd64, armhf, arm64, armel, ppc64el)
Debian 9 (i386, amd64, armhf, arm64, armel, ppc64el)
2 Install Mono
The package mono-devel should be installed to compile code.
The package mono-complete should be installed to install everything — this should cover most cases of «assembly not found» errors.
The package mono-dbg should be installed to get debugging symbols for framework libraries — allowing you to get line numbers in stack traces.
The package referenceassemblies-pcl should be installed for PCL compilation support — this will resolve most cases of «Framework not installed: .NETPortable» errors during software compilation.
The package ca-certificates-mono should be installed to get SSL certificates for HTTPS connections. Install this package if you run into trouble making HTTPS connections.
The package mono-xsp4 should be installed for running ASP.NET applications.
3 Verify Installation
After the installation completed successfully, it’s a good idea to run through the basic hello world examples on this page to verify Mono is working correctly.
Notes
Mono on Linux before 3.12 by default didn’t trust any SSL certificates so you got errors when accessing HTTPS resources. This is not required anymore as 3.12 and later include a new tool that runs on package installation and syncs Mono’s certificate store with the system certificate store (on older versions you had to import Mozilla’s list of trusted certificates by running mozroots —import —sync ). Some systems are configured in a way so that the necessary package isn’t pulled in when Mono is installed, in those cases make sure the ca-certificates-mono package is installed.
1 Add the Mono repository to your system
The package repository hosts the packages you need, add it with the following commands.
Note: the packages should work on newer Raspbian versions too but we only test the ones listed below.
Raspbian 10 (armhf)
Raspbian 9 (armhf)
2 Install Mono
The package mono-devel should be installed to compile code.
The package mono-complete should be installed to install everything — this should cover most cases of «assembly not found» errors.
The package mono-dbg should be installed to get debugging symbols for framework libraries — allowing you to get line numbers in stack traces.
The package referenceassemblies-pcl should be installed for PCL compilation support — this will resolve most cases of «Framework not installed: .NETPortable» errors during software compilation.
The package ca-certificates-mono should be installed to get SSL certificates for HTTPS connections. Install this package if you run into trouble making HTTPS connections.
The package mono-xsp4 should be installed for running ASP.NET applications.
3 Verify Installation
After the installation completed successfully, it’s a good idea to run through the basic hello world examples on this page to verify Mono is working correctly.
Notes
Mono on Linux before 3.12 by default didn’t trust any SSL certificates so you got errors when accessing HTTPS resources. This is not required anymore as 3.12 and later include a new tool that runs on package installation and syncs Mono’s certificate store with the system certificate store (on older versions you had to import Mozilla’s list of trusted certificates by running mozroots —import —sync ). Some systems are configured in a way so that the necessary package isn’t pulled in when Mono is installed, in those cases make sure the ca-certificates-mono package is installed.
1 Add the Mono repository to your system
The package repository hosts the packages you need, add it with the following commands in a root shell.
Note: the packages should work on newer CentOS/RHEL versions too but we only test the ones listed below.
CentOS/RHEL 8 (x86_64)
CentOS/RHEL 7 (x86_64)
CentOS/RHEL 6 (x86_64, i686)
2 Install Mono
The package mono-devel should be installed to compile code.
The package mono-complete should be installed to install everything — this should cover most cases of «assembly not found» errors.
The package referenceassemblies-pcl should be installed for PCL compilation support — this will resolve most cases of «Framework not installed: .NETPortable» errors during software compilation.
The package xsp should be installed for running ASP.NET applications.
3 Verify Installation
After the installation completed successfully, it’s a good idea to run through the basic hello world examples on this page to verify Mono is working correctly.
1 Add the Mono repository to your system
The package repository hosts the packages you need, add it with the following commands in a root shell.
Note: we’re using the CentOS/RHEL repositories on Fedora.
Fedora 29 and later (x86_64)
Fedora 28 (x86_64)
2 Install Mono
The package mono-devel should be installed to compile code.
The package mono-complete should be installed to install everything — this should cover most cases of «assembly not found» errors.
The package referenceassemblies-pcl should be installed for PCL compilation support — this will resolve most cases of «Framework not installed: .NETPortable» errors during software compilation.
The package xsp should be installed for running ASP.NET applications.
3 Verify Installation
After the installation completed successfully, it’s a good idea to run through the basic hello world examples on this page to verify Mono is working correctly.
Mono for Windows is available as a Windows Installer file
Please refer to the installation guide for more information about how to install and configure your Mono environment.
Supported on Windows 7, 8, 10 or later.
GTK# for .NET
Installer for running Gtk#-based applications on Microsoft .NET:
Mono is available on Docker Hub
The simplest way to get started is:
This will download the latest Mono Docker image, create a container and put you into an interactive shell.
Available tags
There are several tags for selecting the desired Mono version:
- latest — Always points to the latest release
- X.X.X.X — points to a specific version, e.g. 5.8.0.108
- X.X.X — points to the latest version in the X.X.X series, e.g. 5.8.0
- X.X — points to the latest version in the X.X series, e.g. 5.8
- X — points to the latest version in the X series, e.g. 5
The latest version, one minor version before that and the last version before a major version bump are periodically rebuilt by Docker Hub to pull in updates from the base Debian image.
All other version tags are still available, but won’t get those updates so you need to keep your images up to date by running apt update yourself. We encourage you to move to latest Mono releases as soon as they’re available.
Starting with Mono 5.2 we provide a slim variant (e.g. latest-slim ) which only contains the bare minimum to run a simple console app. You can use this as a base and add just what you need.
Release Notes
Check out the release notes of all Mono versions here.
MonoDevelop IDE
Please visit the MonoDevelop website for more details about our cross-platform IDE.
Older releases
To access older Mono releases for macOS and Windows, check the archive on the download server. For Linux, please check the «Accessing older releases» section in the installation guide.
Источник
How to install Mono on Linux Mint
I’m using the excellent password manager KeePass version 2.x on Windows to manage all my accounts and information. When I checked the Linux download page, I noticed that only KeePass 1.x was available for Linux which was a problem as the key file that I used could not be loaded in that version.
The developer of KeePass suggested to use Mono to run KeePass 2.x and so my journey began to install Mono on Linux Mint.
My first stop was the installation instructions page on the Mono website. It displays information for various Linux flavors including Ubuntu, Debian and derivatives.
First thing to do was get the Mono Project GPG signing key and the package repository which has to be done from the Terminal interface.
You can launch a Terminal window from the quick launch area or by opening menu first and selecting Terminal from it.
Run the following commands one after the other:
sudo apt-key adv —keyserver keyserver.ubuntu.com —recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo «deb http://download.mono-project.com/repo/debian wheezy main» | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
The next thing you need to do after running the commands above is to install the mono-complete package.
Here is how you do that:
- Open the Menu, search for Synaptic and open the Synaptic Package Manager afterwards.
- Once it has been loaded, search for mono-complete.
- You should get one result only.
- Right-click on it and select mark for installation.
- Once done, click on apply to run the installation on your system.
- You will receive a prompt detailing all changes that the installation will make to the system and files in the process. Click apply to proceed with the installation.
- If everything goes well, Mono should be installed in the end on your system.
Since I wanted to run the Windows program KeePass 2.x on Linux Mint, I used it to test if Mono was working properly on the system.
I downloaded and extracted the latest portable KeePass 2.x version from the official website and opened the folder afterwards on the system. A right-click inside the folder allowed me to open a terminal there.
All that was left to do was run mono KeePass.exe to see if it works. What can I say, it did.
Tip : One issue that I ran into when executing the command was that I typed only lower case characters which resulted in a not found error. I remembered that case was important on Linux and used uppercase characters where needed.
Now that KeePass is running, I can try and get other Windows programs to run on Linux as well. I’m not sure how well that will work if at all, but I’ll report my findings here on this site.
About Martin Brinkmann
Related content
Disabling the Nouveau open-source Nvidia driver to use the proprietary driver in OpenSUSE Leap 15.3
Linux Mint 20.2 is now available
Ubuntu 21.04 is now available with native Microsoft Active Directory integration and Wayland as the default
Microsoft introduces support for Linux GUI apps on Windows 10
Linux Mint will inform users about important security updates but not enforce them
Microsoft Edge 91 will be the first to support syncing on Linux
Comments
You are on Mint? Why didn’t you try the PPa
https://launchpad.net/
As for Mono, isn’t it in the repo? Usually, when installing an app that requires Mono your package manager will install it automagically.
I checked the official KeePass site and it suggested Mono so that is what I did. I followed the installation guide on the Mono website as well, there are probably other ways to do that but it worked for me and that’s fine right now.
Sure, speaking Perl there is always Tim Toady, but some are easier and more comfortable 🙂
On Linux always check your distros Repo first, it should at least offer you KeyPass 2.25 (that’s what is in the official Ubuntu Repo for Trusty which is the mother distro of Mint, so I doubt that Mint offers you something older) it’s not the latest version but should be functional. Same for Mono, it should be available through official repos. If you want something newer search for a PPA, that one is linked on KeyPass download site under unofficial Packages for Ubuntu, but on Mint you can use about everything that works for Ubuntu.
People always expect Linux ways to be complicated but often they are not.
Sven thanks, I’m only getting used to this and I’m sure it will take a while until I discover best practices for stuff 🙂
That’s odd, I found keepass2 in Synaptic, and I didn’t have to add a PPA. It’s been awhile so I don’t know if it included Mono when I installed it.
I am using MInt KDE and keepass2 is definately in Synaptic which is the same pacakge manger accross Mint distros
Yeah, KeePass2 (2.25 on Trusty, so Rebecca should have the same cause they use the same sources) is available via repo in Synaptic. Only the latest version of KeePass2 (2.8) needs to be installed via PPA. It will not include Mono but will install the required Mono dependencies if they are not present on your system already..
Linux-verse language explanation:
Trusty: Ubuntu 14.04 LTS “Trusty Tahr”
Rebecca: Linux Mint 17.1 “Rebecca” (based on Trusty)
Synaptic: a Package Manager
Mono: that’s .NET in Open Source and platform-independent
Linux users like to throw around Linux-verse language and many people give up on Linux because of it.
PPA stands for personal package archives. It allows us to install the latest version of any software in Linux Mint or Ubuntu from launchpad by adding to repository.
A repository is a collection of software for a linux distribution.
Thank you, theMike. You seem to know how much that is appreciated.
Don I see it in the forums a lot. A first time user (fck the word newbie) asks a question and the Linuxsteins answer is to run 50 lines of code in the terminal then type in a few lines of korean backwards add the dashes and switch your time zone over to match your mother blood alcohol content and it should work. The firstimer asks what the terminal is and you’re all the sudden not worth their time.
Kind of like a typical neowin thread except without all the whining and childish insults
Step 1. Open Software Manager (does the same thing as synaptic in a newbie friendly way) from menu.
Step 2. Search for Keepass2
Step 3. Click Install button
It automatically finds and installs all the mono bits and pieces you need along with it. Haven’t used the software myself to see if it works but that seems to be all you need to do. Forget external websites, signing kees, terminals and PPAs.
Sorry, no keypass in SW manager or synaptic. I’m running Linux Mint Cinnamon 17 32-bit. I have to install mono because irfanview won’t install under wine (can’t find mfc42.dll and one other error which I forget). Even if I copy a good version of the .dll into the wine /windows/system32 folder, I still get the not found error. But that’s another story.
We’ll see what happens with mono. I run several windoze apps (all legal copies): Word 97 (because I have a ton of macros that I don’t wish to re-write in LibreOffice’s experimental macro language), heidisql (which is a tad easier and more convenient than phpmyadmin), and of course, irfanview.
I also run Word97 in VirtualBox, where I also run the other winapps I need. It’s just a hassle to keep switching in and out of the virtual system.
Martin, lots of devs will give you the repositories to install from. In terminal, you’ll typically use:
sudo add-apt-repository then sudo apt-get update then sudo apt-get install . Repositories also serve the function of feeding your updater program updates. Another way to install, besides the Synaptic interface, is an app called App Grid. I use it a lot. It offers a lot of programs to install.
Here’s a list of maintenance programs to help you clean your kernel – I usually run them before I shut down or as needed):
Bleachbit (like CCleaner)
Ubuntu Tweak (especially janitor mode – After uninstalling with sudo apt-get remove , it basically takes care of following up with sudo apt-get purge/autoremove/autoclean.
Winidows Killer (part of Cairo Dock – IMHO, the best dock) – an icon on the dock to click on to then click on a frozen app window. Serves the purpose of typing “xkill” in the start –> search box.
Aptik for doing super system backups!
TimeShift – resembles Windows’ system restore.
Gparted for partitioning or checking partitions.
Grub Customizer – allows you to customize Linux’s dual-boot menu! Very good program!
If you need any other apps for different activities, let me know, Martin! I’ll be happy to help you!
Источник