dxfsphere command not found

In this troubleshooting guide we learn how to fix dxfsphere command not found error message

Introduction

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

dxfsphere: command not found

or when using sudo you get the following error message

sudo: dxfsphere: command not found

Solutions to dxfsphere: command not found

How To Fix dxfsphere: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dxfsphere is provided by dime package.

dime is:

Dime is a C++ class library for reading, constructing, manipulating, and writing DXF file data.

This package comes with the programs dxf2vrml, which converts dxf to VRML files and dxfsphere, which makes triangle mesh approximations of spheres.

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

sudo apt-get -y install dime

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

You can also use apt command to install dime.

sudo apt -y install dime

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

sudo aptitude install dime

Summary

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