I had a few problems getting things building on my Ubuntu system so i thought i'd make a note of the steps i used here to help others interested in running LEAN on Ubuntu 16.04
1. Make sure your system is upto date
sudo apt-get update
2. Install the latest version of Mono. The Mono project home page has good instructions for various distributions;
http://www.mono-project.com/download/#download-lin
3. Install Mono
sudo apt-get install mono-complete
4. Install NuGet and Python-pip
sudo apt-get update && sudo apt-get install -y nuget python-pip
5. Make sure that NuGet is recent version to avoid errors when builidng QuantConnect
sudo nuget update -self
That was it. Now i'm able to run LEAN on Ubuntu. Hope this helps someone else.
Jared Broad
Thank you ScalpTrader! Please if possible submit an update to the readme on Github
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
ScalpTrader
Ok no problem Jared. Will do that.
Serge d'Adesky
Just adding my 2 cents, as a less-than-experienced linux developer. I spent hours running this on Google, to no avail, chasing one dependency after another. Finally 2 days later, a lightbulb went off. I thought to check my linux version. I thought the distro I had installed was Debian 7. Guess what? It was Debian 8.
Rather than trying to find all misallocated directories and dependencies, I started with a fresh instance of the virtual machine on Google Cloud Platform , and then these instructions above (although for Ubuntu) worked like a charm. From 8 hours of hair pulling to 15 minutes of clear sailing. Whew!
Maybe this will save some other poor schmuck a little anxiety...
James Smith
@ScalpTrader
I think you pretty much nailed it. I also need to configure the swap file and firewall, but this might not be necessary for all.
ScalpTrader
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!