RocRail on Raspberry Pi

Parts needed:

  1. A Raspberry Pi with Power Supply, keyboard, mouse, wi-fi dongle and 8gig SD card preloaded with Raspian.
  2.  A DCC command station such as Hornby Elite or SprogII.

Download Wheezy Image for R-Pi Model B here

Instructions on installing RocRail on a Raspberry Pi are here:

Note the instructions given on this web page are NOT what you have to type.

You have to change the values given by the X’s to the number of the build you are trying type eg.


sudo dpkg -i rocrail-11185-raspbian-armhf.deb
sudo reboot


Unpacking rocrail (from rocrail-11185-raspbian-armhf.deb) ...
dpkg: dependency problems prevent configuration of rocrail:
 rocrail depends on libwxgtk3.0-dev | libwxgtk2.8-dev; however:
 Package libwxgtk3.0-dev is not installed.
 Package libwxgtk2.8-dev is not installed.dpkg: error processing rocrail (--install):
 dependency problems - leaving unconfigured


If you get the above error, you can use the Synaptic Package Manager to correct the problem.


sudo get install synaptic


From the LXDE menu on the bottom left corner of the screen go up to “Other”, and choose “RocView” (which is the standard method of starting RockRail).

Hot tip:

If you do the “apple II on a Pi” project it will set up your Pi for you with a Lynx Terminal and ftp server. You don’t need a real Apple II to do this project.

Hot tip:

You can use your Raspberry Pi from your Windows laptop using “Putty“.

Hot tip: The Linux version of RocRail runs on Ubuntu.

Check whether your version of Linux works with RocRail

Caveat: RocRail has not been compiled for OS Elementary 64 bit described in this blog. Alternative: Linux Mint MATE.