How To Install freecad-python2 on Debian 10

Learn how to install freecad-python2 on Debian 10 with this tutorial. freecad-python2 is Extensible Open Source CAx program - Python 2 binaries

Introduction

In this tutorial we learn how to install freecad-python2 on Debian 10.

What is freecad-python2

freecad-python2 is:

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 package contains the FreeCAD binaries built against Python 2.

There are three methods to install freecad-python2 on Debian 10. 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-python2 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-python2 using apt-get by running the following command:

sudo apt-get -y install freecad-python2

Install freecad-python2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install freecad-python2

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

sudo aptitude -y install freecad-python2

How To Uninstall freecad-python2 on Debian 10

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

sudo apt-get remove freecad-python2

Uninstall freecad-python2 And Its Dependencies

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

sudo apt-get -y autoremove freecad-python2

Remove freecad-python2 Configurations and Data

To remove freecad-python2 configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge freecad-python2

Remove freecad-python2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge freecad-python2

Dependencies

freecad-python2 have the following dependencies:

References

Summary

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