Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C#

Setting up a C# environment on linux

Hi all!

I wanted to set up a local environment for running C# on linux (I use open suse leap), much like how the workspaces do. I've found running code locally easier than using workspaces in browser for the other courses on treehouse, and wasn't really prepared for how confusing it would be to set up C# lol

Okay so after reading up on this all morning, I've think I got it working: I used Mono-5.0.1.1.tar.bz2 From here: https://download.mono-project.com/sources/mono/ And got the mcs, mono and *csharp commands working once I added them to path.

Phew, am I done? Or are there more things I need/probably should install for following along locally? I got a bit confused and installed dotnet core and VS code too but now understand they're a seperate thing.

Thanks in advance all!

1 Answer

James Churchill
STAFF
James Churchill
Treehouse Teacher

Jon,

Sounds like you're on the right track! Let me know if you have any other questions and I'll try to help.

Thanks ~James