How To Install libgltf-0.1-1 on Ubuntu 18.04

In this tutorial we learn how to install libgltf-0.1-1 on Ubuntu 18.04. libgltf-0.1-1 is Library for rendering glTF models

Introduction

In this tutorial we learn how to install libgltf-0.1-1 on Ubuntu 18.04.

What is libgltf-0.1-1

libgltf-0.1-1 is:

glTF, the GL Transmission Format, is the runtime asset format for the GL APIs: WebGL, OpenGL ES, and OpenGL. glTF bridges the gap between formats used by modeling tools and the GL APIs.

LIBGLTF provides methods to load the OpenGL scene from glTF format and render it into an existing OpenGL context. LIBGLTF also allows one to change the camera position so the scene can be displayed from different points of view.

There are three methods to install libgltf-0.1-1 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 libgltf-0.1-1 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libgltf-0.1-1

Install libgltf-0.1-1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgltf-0.1-1 using apt by running the following command:

sudo apt -y install libgltf-0.1-1

Install libgltf-0.1-1 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 libgltf-0.1-1 using aptitude by running the following command:

sudo aptitude -y install libgltf-0.1-1

How To Uninstall libgltf-0.1-1 on Ubuntu 18.04

To uninstall only the libgltf-0.1-1 package we can use the following command:

sudo apt-get remove libgltf-0.1-1

Uninstall libgltf-0.1-1 And Its Dependencies

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

sudo apt-get -y autoremove libgltf-0.1-1

Remove libgltf-0.1-1 Configurations and Data

To remove libgltf-0.1-1 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgltf-0.1-1

Remove libgltf-0.1-1 configuration, data, and all of its dependencies

We can use the following command to remove libgltf-0.1-1 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgltf-0.1-1

References

Summary

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