From ArchWiki
Jump to: navigation, search

RepRap is an open-source 3D printer project. A RepRap prints objects of plastic and is intended for rapid-prototyping, the printer itself is built with small plastic parts which can be printed out and replaced. This page explains how to install RepRap host software on Arch Linux and how to print 3D models. More information is available on the RepRap homepage.


Note: Custom firmware may be available to you from your electronics supplier, it may even be pre-installed.

Many of the controller chips for RepRap are arduino based, or arduino derived (such as Melzi). Figure out what electronics you have from the RepRap Official Electronics page. You will also find what firmware you have on that page.

Follow the arduino wiki page if you have an arduino based controller. Do the Installation and Configuration steps.

Install the host software by following this guide Installing RepRap on your computer. There are alternative host software solutions which are easier to install and are described in the following sections.


Note: If you do not have firmware installed on your electronics, you may not be able to connect via USB or control the motors.

Connect your 3D printer to your computer and run the host software. Use the host software's user interface to send commands to the printer.

Warning: If you have not tested your printer previously, make sure you have your hand on the emergency stop button (your power plug). Don't let the hotend go through the hotbed, if the stepper motors don't stop when they reach the end stoppers or move the wrong way, stop the printer and check your wiring.

Host software alternatives


Run cura

$ cura

Configure it to use RepRap in the startup configuration wizard. Select the RepRap model you are using, or select Custom RepRap.

Lulzbot by Aleph Objects

$ usermod -a -G uucp username


MatterControl is a combined slicer/host similar to Cura. Install mattercontrolAUR from AUR, then run it.

$ mattercontrol

The AUR package is built from source and does not include the closed source plugins. You can add these by extracting the appropriate DLLs from the Debian package at and copying them into /usr/lib/mattercontrol. These files include...


MatterControl's built in slice engine is MatterSlice, which is a port of CuraEngine to C#. You can also choose other slicing engines. To use Slic3r in MatterControl, make a symlink in /usr/lib/mattercontrol/Slic3r/bin to the Slic3r executable.

 $ mkdir /usr/lib/mattercontrol/Slic3r/bin
 $ ln -s /usr/bin/slic3r /usr/lib/mattercontrol/Slic3r/bin/slic3r

To use CuraEngine, do

 $ ln -s /usr/share/cura/CuraEngine /usr/lib/mattercontrol/CuraEngine.exe

Printrun / Pronterface

Printrun consists of printcore, pronsole and pronterface, and a small collection of helpful scripts.

  • is a library that makes writing reprap hosts easy
  • is an interactive command-line host software with tabcompletion goodness
  • is a graphical host software with the same functionality as pronsole

It is pronterface and pronsole which will be most usefull to us.

Now you can run the pronterface and pronsole commands directly. Let's start pronterface, as it has a GUI.


Use it to send commands to your 3D printer.

If you have to run it by calling a helper script like, it might be a good idea modify the script to use python2 instead of default python (python3).

# sed -r 's,bin/python(2)*,bin/python2,' /path/to/


Set write permissions in /opt/replicatorg

# chmod g+w /opt/replicatorg

On a 64-bit system, copy to following libraries into /opt/replicatorg

# cp /usr/lib/ /opt/replicatorg/lib-x86_64
# cp /usr/share/java/rxtx/RXTXcomm.jar /opt/replicatorg/lib

Then simply run replicatorg

$ replicatorg

Alternatively download ReplicatorG from somewhere else. You will need java installed.

$ ./replicatorg


Repetier is a little like pronterface.


See Also


3D models & STL files