How To Install graphene-tests on Ubuntu 18.04

In this tutorial we learn how to install graphene-tests on Ubuntu 18.04. graphene-tests is library of graphic data types (installed tests)

Introduction

In this tutorial we learn how to install graphene-tests on Ubuntu 18.04.

What is graphene-tests

graphene-tests is:

Graphene provides a small set of mathematical types needed to implement graphic libraries that deal with 2D and 3D transformations and projections.

This library provides types and their relative API; it does not deal with windowing system surfaces, drawing, scene graphs, or input.

This package contains test programs, designed to be run as part of a regression testsuite.

There are three methods to install graphene-tests 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 graphene-tests Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install graphene-tests

Install graphene-tests Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install graphene-tests

Install graphene-tests 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 graphene-tests using aptitude by running the following command:

sudo aptitude -y install graphene-tests

How To Uninstall graphene-tests on Ubuntu 18.04

To uninstall only the graphene-tests package we can use the following command:

sudo apt-get remove graphene-tests

Uninstall graphene-tests And Its Dependencies

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

sudo apt-get -y autoremove graphene-tests

Remove graphene-tests Configurations and Data

To remove graphene-tests configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge graphene-tests

Remove graphene-tests configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge graphene-tests

References

Summary

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