With the help of a user, we have some install help on this topic. I’m going to detail the steps you have to take to install the necessary components to get the AMR simulator to work on Ubuntu 16.04. (This may work for later versions, but I’m unsure).
Firstly, this is going to be done purely through the terminal interface. No GUI, which makes sense since the simulation program is also a CLI. Personally, I am running this on a small digital ocean box which I can save a snapshot of once I get it working then I can destroy the box, and make a new one from the snapshot once I need to spin up one of their 20 CPU servers.
Note, this is not free. The 20 CPU box is about ~$1 per hour. I strongly recommend using the smallest version to set up your snapshot then delete it after you’re done. When you’re ready to run a simulation, you can make a new one with the snapshot, run your simulation for however long you need, then kill it again.
Starting the updating process: I’m going to outline every single command assuming you don’t know how to use a bash terminal at all.
Download the file using wget:
- Note this link may change, just go to the download button and right click ‘save link address’
sudo apt-get install unzip
chmod +x amr
run this now for future use so we don’t have to update twice:
echo 'deb http://ftp.de.debian.org/debian/ jessie main' >> /etc/apt/sources.list
There is a github link further down if you wish to reead what this is for.
Now when you run ./amr you should get an error saying a file was not found. If this is the case we move on to using the information we get from: https://www.microsoft.com/net/core#ubuntu
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
sudo apt-get update
sudo apt-get install dotnet-dev-1.0.0-preview2-003121
if you run which dotnet you should see you have it installed now, but running ./amr gives a new error : Failed to initialize CoreCLR, HRESULT: 0x80131500
to fix this we need to do a couple more things found here: https://github.com/dotnet/cli/issues/2018#issuecomment-239301891. Remember how we added that link to sources.list earlier? We did it there since we were going to apt-get update anyway for the dotnet stuff, so might as well only do it once.
Next line of code you should run is
sudo apt-get -t jessie install libicu52
sudo apt-get install libssl1.0.0
and we’re done. run ./amr in the folder (to get back to it type cd ~/AskMrRobotClient/client)
The client should run after that.
Post credit goes to Krazyito.