How To Install fdm-materials on Ubuntu 18.04

In this tutorial we learn how to install fdm-materials on Ubuntu 18.04. fdm-materials is 3D printing material definitions for Cura

Introduction

In this tutorial we learn how to install fdm-materials on Ubuntu 18.04.

What is fdm-materials

fdm-materials is:

This package contains FDM (Fused Deposition Modelling) material definitions for use with the Cura 3D printing application.

It is recommended to install them along with Cura, but they are not required if you only use custom definitions.

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

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

sudo apt-get update

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

sudo apt-get -y install fdm-materials

Install fdm-materials Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fdm-materials

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

sudo aptitude -y install fdm-materials

How To Uninstall fdm-materials on Ubuntu 18.04

To uninstall only the fdm-materials package we can use the following command:

sudo apt-get remove fdm-materials

Uninstall fdm-materials And Its Dependencies

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

sudo apt-get -y autoremove fdm-materials

Remove fdm-materials Configurations and Data

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

sudo apt-get -y purge fdm-materials

Remove fdm-materials configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fdm-materials

References

Summary

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