How to run FRCSim on non-Ubuntu linux distro

I just got FRCsim working on my Linux Mint PC. The install script warns you that distributions other than Ubuntu are not supported, but I suspected that it would work fine on most Debian bassed distros. I made these changes to the install script so it will atleast finish running on any linux distro, though FRCsim might fail on some still.

change line 92 to

if ! echo "deb http://packages.osrfoundation.org/gazebo/ubuntu trusty main" > /etc/apt/sources.list.d/gazebo-latest.list

and line 107 to

    if ! echo "deb http://first.wpi.edu/FRC/roborio/release/linux trusty main" > /etc/apt/sources.list.d/frcsim-latest.list

This just grabs the repositories for Ubuntu. Instead of trying to find the repo for your distribution

Have fun!

I ran into an error with the gazebo package. They have packages for more distros that the frcsim does. Specifically they have precise, quantal, raring, saucy and trusty and frcsim only has trusty. So I would recommend not changing line 92 and only changing line 107.

Interesting. I have only tried on Ubuntu 14.04 64-bit, so I can’t confirm or deny that this works. I know that WPI and OSRF are only working on Ubuntu 14.04 for this preliminary roll-out, though.