How To Install qt3d5-dev-tools on Ubuntu 18.04

In this tutorial we learn how to install qt3d5-dev-tools on Ubuntu 18.04. qt3d5-dev-tools is Qt 3D development tools

Introduction

In this tutorial we learn how to install qt3d5-dev-tools on Ubuntu 18.04.

What is qt3d5-dev-tools

qt3d5-dev-tools is:

Qt 3D provides functionality for near-realtime simulation systems with support for 2D and 3D rendering in both Qt C++ and Qt Quick applications.

This package contains development programs to use with Qt 3D.

At the moment there is only one tool here, qgltf, which can be used to import a variety of 3D model formats and export it into fast-to-load, optimized glTF assets embedded into Qt resource files.

There are three methods to install qt3d5-dev-tools 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 qt3d5-dev-tools Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install qt3d5-dev-tools

Install qt3d5-dev-tools Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install qt3d5-dev-tools using apt by running the following command:

sudo apt -y install qt3d5-dev-tools

Install qt3d5-dev-tools 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 qt3d5-dev-tools using aptitude by running the following command:

sudo aptitude -y install qt3d5-dev-tools

How To Uninstall qt3d5-dev-tools on Ubuntu 18.04

To uninstall only the qt3d5-dev-tools package we can use the following command:

sudo apt-get remove qt3d5-dev-tools

Uninstall qt3d5-dev-tools And Its Dependencies

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

sudo apt-get -y autoremove qt3d5-dev-tools

Remove qt3d5-dev-tools Configurations and Data

To remove qt3d5-dev-tools configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge qt3d5-dev-tools

Remove qt3d5-dev-tools configuration, data, and all of its dependencies

We can use the following command to remove qt3d5-dev-tools configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge qt3d5-dev-tools

References

Summary

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