
I think this idea of many of us has been tormenting me for a long time: Can I not go completely to Linux? So it was with me. Many days of thinking, a lot of pros and cons.
All those who opened this article have repeatedly come across this kind of OS, but few have stayed on it for long. It also happened to me. Often. One day I decided. Put Mint 18, as for me, the most convenient, set up the driver and went running.
Thought how to set Unity so that not through Wine. And lo and behold. Unity has long been leading a branch of Linux packages ready for installation. They have both .sh script and ready .deb package (links below).
Each released version of Unity is collected for our OC. There are shoals sometimes, but they are hardly noticeable and, in principle, there is everything you need for comfortable development and everything works well.
So. Unity is simple and easy.
')
- With the help of the finished .deb package through the manager
- Or through the terminal
sudo sh /path/to/*.sh
Further confusion begins. I think you know that Unity uses its compiler. It is gentle to .Net version 3.5.
I tried to work with Rider from JB (everything is fine on windows, in Ubuntu, Mint swears at the absence of .Net 3.5), VSCode (the same and a little more) and the new MonoDevelop, which is supplied via flatpack. But there were a lot of problems with it, the main one of which is incomplete, and on my part even incorrect reading of the file system. He climbs in the wrong sections, without seeing what is necessary. As a result, linking is broken and you hardly want to suffer every time with setting up libraries. Therefore, I came to a simple solution - put Mono from standard repositories via apt. Let's get started
I advise you to do before the start of everything
sudo apt-get update
Updated.
Next put Mono version 5.9.6 \
sudo apt-get install monodevelop
So. We need the program itself. We got it. We point at it in Unity.
In Unity, go to Edit-> Preferences-> External Tools-> External Script Editor and select the item monodevelop
We start. All is well. But the linker swears: dude, where is .Net 3.5? And many here stop. Mono has the so-called mono-reference-assemblies. We then need it
sudo apt-get install mono-reference-assemblies-3.5
Bottom line: Unity is remarkably friendly with Linux, without creating problems during development. Also, all the software that I had on Windows, I was able to replace with analogs on Linux Mint.
I have a third below