Windows 10 – How to install Mono on Bash / Ubuntu

To install Linux Subsubsystem

https://audministrator.wordpress.com/2018/01/19/windows-10-how-to-install-linux-subsystem/

To get going with Mono first see here :

http://www.mono-project.com/docs/getting-started/install/windows/

Next read the steps to install it :

https://github.com/mono/website/issues/199

1. Installing the Mono Framework

image

image

image

image

After installation the Mono Framework is located in :

image

/usr/lib/mono/xxx

image

 

2. Testing the DotNet Framework

Once installed you can test it using the Hello Mono World Example :

http://www.mono-project.com/docs/getting-started/mono-basics/

First copy the Hello.cs to the Root folder (keep in mind that File Names are CASE SENSITIVE in Linux)

image

You can as well build GUI applications, but run it make sure you have the Xserver running first.

image

Otherwise you will see this error appearing.

image

 

So now we know there is a DotNet Framework installed on Linux, we can start scripting Winking smile

…. What about PowerShell on Linux or Mac … ?

Well after you got the DotNET installed on Linux you can add PowerShell too 🙂

Start here :

– https://blogs.msdn.microsoft.com/powershell/2016/08/18/powershell-on-linux-and-open-source-2/

– https://github.com/powershell/powershell

– http://www.sqlservercentral.com/blogs/anthony-nocentinos-blog/2016/08/18/getting-started-with-powershell-on-linux/

– http://www.sqlservercentral.com/blogs/steve_jones/2016/08/19/posh-on-ubuntu/

Enjoy !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: