How To Install python-collada on Ubuntu 18.04

In this tutorial we learn how to install python-collada on Ubuntu 18.04. python-collada is Python module for creating, editing and loading COLLADA

Introduction

In this tutorial we learn how to install python-collada on Ubuntu 18.04.

What is python-collada

python-collada is:

Pycollada is a Python module for creating, editing and loading COLLADA, which is a COLLAborative Design Activity for establishing an interchange file format for interactive 3D applications. The library allows you to load a COLLADA file and interact with it as a Python object. In addition, it supports creating a collada Python object from scratch, as well as in-place editing.

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

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

sudo apt-get update

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

sudo apt-get -y install python-collada

Install python-collada Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-collada

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

sudo aptitude -y install python-collada

How To Uninstall python-collada on Ubuntu 18.04

To uninstall only the python-collada package we can use the following command:

sudo apt-get remove python-collada

Uninstall python-collada And Its Dependencies

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

sudo apt-get -y autoremove python-collada

Remove python-collada Configurations and Data

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

sudo apt-get -y purge python-collada

Remove python-collada configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-collada

References

Summary

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