How To Install freecad on Debian 12

Learn how to install freecad on Debian 12 with this tutorial. freecad is Extensible Open Source CAx program

Introduction

In this tutorial we learn how to install freecad on Debian 12.

What is freecad

freecad is:

For 3D printing, CNC milling or for the manual assembly of complicated constructs one needs a formal specification of the workpiece, i.e., its parts and how these come together. The process to get there is called Computer-Aided Design (CAD). The process to transform a CAD model into a series of instructions that can be performed on a machine is called Computer-Aided Manufacturing (CAM). FreeCAD can do both, the prior yet a bit better than the latter.

FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features some key concepts like macro recording, workbenches, ability to run as a server and dynamically loadable application extensions and it is designed to be platform independent.

Currently, FreeCAD can import and display CAD models in IGES, STEP, and BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats. Editing and modeling features are currently somewhat limited.

This is a metapackage of FreeCAD component packages.

There are three methods to install freecad on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install freecad Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install freecad

Install freecad Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install freecad using apt by running the following command:

sudo apt -y install freecad

Install freecad 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install freecad using aptitude by running the following command:

sudo aptitude -y install freecad

How To Uninstall freecad on Debian 12

To uninstall only the freecad package we can use the following command:

sudo apt-get remove freecad

Uninstall freecad And Its Dependencies

To uninstall freecad and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove freecad

Remove freecad Configurations and Data

To remove freecad configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge freecad

Remove freecad configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge freecad

Dependencies

freecad have the following dependencies:

References

Summary

In this tutorial we learn how to install freecad package on Debian 12 using different package management tools: apt, apt-get and aptitude.