Log in

View Full Version : How to run FRCSim on non-Ubuntu linux distro


FleventyFive
03-01-2015, 17:26
I just got FRCsim working on my Linux Mint PC. The install script (https://wpilib.screenstepslive.com/s/4485/m/23353/l/228979-installing-frcsim-with-a-terminal) 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!

sgosiaco
07-01-2015, 01:56
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.

jman1783
15-01-2015, 15:28
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.