How To Install g3dviewer on Debian 10

Learn how to install g3dviewer on Debian 10 with this tutorial. g3dviewer is 3D model viewer for GTK+

Introduction

In this tutorial we learn how to install g3dviewer on Debian 10.

What is g3dviewer

g3dviewer is:

G3DViewer is a 3D file viewer for GTK+ supporting a variety of file types by using the LibG3D plugin facility. Models can be inspected and rendered using OpenGL. Rendering options includes wireframe rendering, shadows, isometric view, specular lightning, and textures.

See ’libg3d-plugin*’ for supported formats.

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

Install g3dviewer Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install g3dviewer

Install g3dviewer Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install g3dviewer

Install g3dviewer 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install g3dviewer

How To Uninstall g3dviewer on Debian 10

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

sudo apt-get remove g3dviewer

Uninstall g3dviewer And Its Dependencies

To uninstall g3dviewer and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove g3dviewer

Remove g3dviewer Configurations and Data

To remove g3dviewer configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge g3dviewer

Remove g3dviewer configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge g3dviewer

Dependencies

g3dviewer have the following dependencies:

References

Summary

In this tutorial we learn how to install g3dviewer package on Debian 10 using different package management tools: apt, apt-get and aptitude.