At first you need to install mono-complete, as this tool has many dependencies:
$ sudo apt-get install mono-complete
Then download the nuget command-line utility: http://nuget.codeplex.com/releases
Further create a file/script called "nuget" so that nuget.exe is called with our desired options:
#!/bin/bash
mono --runtime=v4.0 /usr/local/bin/nuget.exe "$@"
Copy both files (nuget and nuget.exe) to /usr/local/bin/ and make it executable:
$ sudo cp nuget* /usr/local/bin/
$ sudo chmod a+x /usr/local/bin/nuget
You now can already call nuget in your terminal. However, if it still creates an error, you need to download Microsoft.Build.dll and also copy it to /usr/local/bin. Get it, for example, here: http://headsigned.com/download/running-nuget-command-line-on-linux/Microsoft.Build.zip
This blogpost also explains how to extract the ddl from a working Windows installation in case you don't trust the previous source: http://headsigned.com/article/running-nuget-command-line-on-linux
Now you can try to make Rainy. If it throws an error not being able to download from https://something, import the certificates from Mozilla:
$ mozroots --import --sync
Now it should be able to build Rainy on Debian!
$ git clone https://github.com/Dynalon/Rainy.git
$ cd Rainy
$ make
No comments:
Post a Comment