How To Install ldraw-mklist on Ubuntu 18.04

In this tutorial we learn how to install ldraw-mklist on Ubuntu 18.04. ldraw-mklist is LDraw mklist program

Introduction

In this tutorial we learn how to install ldraw-mklist on Ubuntu 18.04.

What is ldraw-mklist

ldraw-mklist is:

3D CAD programs and rendering programs using the LDraw parts library of LEGO parts rely on a file called parts.lst containing a list of all available parts. The program ldraw-mklist is used to generate this list from a directory of LDraw parts.

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

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

sudo apt-get update

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

sudo apt-get -y install ldraw-mklist

Install ldraw-mklist Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ldraw-mklist

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

sudo aptitude -y install ldraw-mklist

How To Uninstall ldraw-mklist on Ubuntu 18.04

To uninstall only the ldraw-mklist package we can use the following command:

sudo apt-get remove ldraw-mklist

Uninstall ldraw-mklist And Its Dependencies

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

sudo apt-get -y autoremove ldraw-mklist

Remove ldraw-mklist Configurations and Data

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

sudo apt-get -y purge ldraw-mklist

Remove ldraw-mklist configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ldraw-mklist

References

Summary

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