How To Install yagv on Ubuntu 18.04

In this tutorial we learn how to install yagv on Ubuntu 18.04. yagv is yet another G-code viewer

Introduction

In this tutorial we learn how to install yagv on Ubuntu 18.04.

What is yagv

yagv is:

yagv is a fast 3D Gcode Viewer for Reprap-style 3D printers, in Python and OpenGL (via pyglet)

It has the following features:

  • Load large files painlessly
  • Select specific layers to look at
  • Colour segments according to function
  • Shows a full 3D view for better undersrtanding the G-code.

There are three methods to install yagv on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install yagv Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install yagv using apt-get by running the following command:

sudo apt-get -y install yagv

Install yagv Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install yagv using apt by running the following command:

sudo apt -y install yagv

Install yagv Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install yagv using aptitude by running the following command:

sudo aptitude -y install yagv

How To Uninstall yagv on Ubuntu 18.04

To uninstall only the yagv package we can use the following command:

sudo apt-get remove yagv

Uninstall yagv And Its Dependencies

To uninstall yagv and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove yagv

Remove yagv Configurations and Data

To remove yagv configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge yagv

Remove yagv configuration, data, and all of its dependencies

We can use the following command to remove yagv configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge yagv

References

Summary

In this tutorial we learn how to install yagv package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.