Prerequisites (indigo):
sudo apt-get install ros-indigo-rostest ros-indigo-roslint
sudo apt-get install ros-indigo-ackermann-msgs # required for tug_joy
Prerequisites (kinetic):
sudo apt-get install ros-kinetic-rostest ros-kinetic-roslint
sudo apt-get install ros-kinetic-ackermann-msgs # required for tug_joy
If protobuf is needed, also install:
sudo apt-get install protobuf-compiler libprotobuf-dev libprotoc-dev python-protobuf