How To Install freecad-python3 on Debian 11
Introduction
In this tutorial we learn how to install freecad-python3
on Debian 11.
What is freecad-python3
freecad-python3 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 3.
There are three methods to install freecad-python3
on Debian 11. 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-python3 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-python3
using apt-get
by running the following command:
sudo apt-get -y install freecad-python3
Install freecad-python3 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install freecad-python3
using apt
by running the following command:
sudo apt -y install freecad-python3
Install freecad-python3 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-python3
using aptitude
by running the following command:
sudo aptitude -y install freecad-python3
How To Uninstall freecad-python3 on Debian 11
To uninstall only the freecad-python3
package we can use the following command:
sudo apt-get remove freecad-python3
Uninstall freecad-python3 And Its Dependencies
To uninstall freecad-python3
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove freecad-python3
Remove freecad-python3 Configurations and Data
To remove freecad-python3
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge freecad-python3
Remove freecad-python3 configuration, data, and all of its dependencies
We can use the following command to remove freecad-python3
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge freecad-python3
Dependencies
freecad-python3 have the following dependencies:
- freecad-common
- python3-matplotlib
- python3-pivy
- python3-ply
- python3-pyside2.qtcore
- python3-pyside2.qtgui
- python3-pyside2.qtuitools
- python3-pyside2.qtsvg
- python3-pyside2.qtwidgets
- python3-pyside2.qtxml
- python3-yaml
- libfreecad-python3-0.19
- libfreecad-python3-0.19
- libc6
- libgcc-s1
- libpython3.9
- libqt5core5a
- libqt5gui5
- libqt5widgets5
- libstdc++6
References
Summary
In this tutorial we learn how to install freecad-python3
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.