Pages - Menu

Saturday, March 4, 2017

3D Printing Software on Ubuntu 16.04 (Cura, Slic3r, Pronterface, Repetier Host)

I recently got a cheap 3D printer and wanted to get started printing with Ubuntu. Some of the software is not so obvious to install, so here's how I got these popular applications going:


Cura is available in the PPA. To install, just:

sudo add-apt-repository ppa:thopiekar/cura
sudo apt update
sudo apt install cura

Launch with the cura command.

Cura website:

Slic3r (Slicer)

The version in repos is the latest (1.2.9) at the time of writing, however the package is missing some dependencies. This installs all that's required:

sudo apt install slic3r wx-common libopengl-perl libwx-glcanvas-perl

Launch the GUI with the slic3r --gui command

Slic3r website:

Pronterface (aka Printrun)

This requires python-wxgtk2.8 which is removed in Ubuntu Xenial 16.04, and the replacement python-wxgtk3.0 does not work well with Printrun.

There are some instructions around the internet suggesting to install the Wily 15.10 version, but that led to messy dependencies for me.

Luckily, WebUpd8 package python-wxgtk2.8 for 16.04 in their PPA, thanks!

First, install the dependencies Printrun requires with:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install python-serial python-wxgtk2.8 python-pyglet python-numpy cython python-libxml2 python-gobject python-dbus python-psutil python-cairosvg git

Now change to the directory where you want the application to be and fetch the software with:

git clone

To run, change to the Printrun directory with cd Printrun and run the python command.

Pronterface website:

Repetier Host

This uses Mono to run the Windows binary, install requirements with:

sudo apt install monodevelop libmono-system-serviceprocess4.0-cil

Download and uncompress:

tar xf repetierHostLinux_1_6_2.tgz
cd RepetierHost

Run with:

mono RepetierHost.exe

Repetier Host website:


Tres Finocchiaro said...

Printrun/Pronterface: I think this will still work so as long as you check out the stable branch of pronterface. The newer on uses a newer wx version I think.

Anonymous said...

Thank you Tres Finocchiaro!!! I'm running Ubuntu 16.04 xenial under crouton on a chromebook and had a lot of trouble with getting Printrun/Pronterface to run, wrong wxgtk versions, attempting to compile wxgtk wheel in python failed with out of space on device even after meeting all deps ... finally switching to stable branch of Printrun in the git clone solves my wxgtk version issues, it works! :)