The Raspberry Pi makes a great little controller for BotQueue, but it until I add cloud based slicing, the gcode generation needs to happen on the Pi itself. Since the Raspberry is on the ARM architecture, there is not precompiled version available to use. The good news is that its pretty easy to install from source.

The first step is to install the prerequisite software using apt-get:

sudo apt-get install git-core build-essential libgtk2.0-dev libwxgtk2.8-dev libwx-perl libmodule-build-perl libnet-dbus-perl cpanminus libextutils-cbuilder-perl gcc-4.7 g++-4.7 libwx-perl libperl-dev

The next step is to compile and install all the Perl dependencies. Be warned, that this next step will take literally HOURS. My advice is to install screen first and then do it within a screen session in case your login gets interrupted:

sudo apt-get install screen
screen -dR botqueue

Now, install those dependencies:

sudo cpanm AAR/Boost-Geometry-Utils-0.06.tar.gz Math::Clipper Math::ConvexHull Math::ConvexHull::MonotoneChain Math::Geometry::Voronoi Math::PlanePath Moo IO::Scalar Class::XSAccessor Growl::GNTP XML::SAX::ExpatXS PAR::Packer

To compile all of the dependencies for Slic3r, you need the GUI running. If you keep that turned off on your Pi, you need to install the virtual framebuffer to give it a ‘fake’ X server to run on:

sudo apt-get install -qy xvfb
sudo Xvfb :1 &
sudo env DISPLAY=:1 cpanm Wx
sudo killall Xvfb

Now that all the prerequisites are installed, you can install Slic3r itself:

git clone
cd Slic3r
git checkout 0.9.9
sudo perl Build.PL
sudo ./Build install

Once you’ve installed it, you can run it from the commandline with ./ Of course I sort of lied earlier… there are no officially available Raspi versions of slic3r available, but we do bundle one together with BotQueue itself. This binary can be created with the following command:

pp -c -o slic3r -M Method::Generate::BuildAll

I hope this helps anyone out there who is trying to get Slic3r installed on their Raspberry Pi!