prusa-gcodeviewer command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
prusa-gcodeviewer: command not found
or when using sudo you get the following error message
sudo: prusa-gcodeviewer: command not found
Solutions to prusa-gcodeviewer: command not found
How To Fix prusa-gcodeviewer: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu prusa-gcodeviewer is provided by prusa-slicer package.
prusa-slicer is:
PrusaSlicer converts digital 3D models into printing instructions (G-code) for your 3D printer. It cuts the model into horizontal slices (layers), generates toolpaths to fill them and calculates the amount of material to be extruded.
PrusaSlicer supports input in the STL, AMF and OBJ formats, and can output G-code for several series of 3D printers, including RepRap, Ultimaker, Makerbot, as well as SVG files for DLP printers.
It can be used with a graphical interface, or in batch mode via the command-line.
To fix this problem, we can install more using the command below.
sudo apt-get -y install prusa-slicer
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install prusa-slicer.
sudo apt -y install prusa-slicer
Or if you have aptitude installed you can use the following command.
sudo aptitude install prusa-slicer
Summary
In this tutorial we learn how to fix prusa-gcodeviewer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.