ldraw-mklist command not found

In this troubleshooting guide we learn how to fix ldraw-mklist command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ldraw-mklist: command not found

or when using sudo you get the following error message

sudo: ldraw-mklist: command not found

Solutions to ldraw-mklist: command not found

How To Fix ldraw-mklist: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ldraw-mklist is provided by ldraw-mklist package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install ldraw-mklist

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ldraw-mklist.

sudo apt -y install ldraw-mklist

Or if you have aptitude installed you can use the following command.

sudo aptitude install ldraw-mklist

Summary

In this tutorial we learn how to fix ldraw-mklist command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.