How To Install libbullet-dev on Debian 11
Introduction
In this tutorial we learn how to install libbullet-dev
on Debian 11.
What is libbullet-dev
libbullet-dev is:
Bullet professional 3D Game Multiphysics Library provides state of the art collision detection, soft body and rigid body dynamics.
- Used by many movie and game companies in AAA titles on Playstation 3, XBox 360, Nintendo Wii, PC, Android and iPhone.
- Modular extendible C++ design with hot-swap of most components.
- Discrete and continuous collision detection (CCD).
- Swept collision queries.
- Ray casting with custom collision filtering.
- Generic convex support (using GJK), capsule, cylinder, cone, sphere, box and non-convex triangle meshes.
- Support for dynamic deformation of non-convex triangle meshes, by refitting the acceleration structures.
Multiphysics support including:
- Rigid body dynamics including constraint solvers, generic constraints, ragdolls, hinge, ball-socket.
- Support for constraint limits and motors.
- Soft body support including cloth, rope and deformable.
- Bullet is integrated into Blender.
- Serialization of physics data in the cross-platform binary bullet file format.
This package contains development files for Bullet.
There are three methods to install libbullet-dev
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 libbullet-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libbullet-dev
using apt-get
by running the following command:
sudo apt-get -y install libbullet-dev
Install libbullet-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libbullet-dev
using apt
by running the following command:
sudo apt -y install libbullet-dev
Install libbullet-dev 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 libbullet-dev
using aptitude
by running the following command:
sudo aptitude -y install libbullet-dev
How To Uninstall libbullet-dev on Debian 11
To uninstall only the libbullet-dev
package we can use the following command:
sudo apt-get remove libbullet-dev
Uninstall libbullet-dev And Its Dependencies
To uninstall libbullet-dev
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libbullet-dev
Remove libbullet-dev Configurations and Data
To remove libbullet-dev
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libbullet-dev
Remove libbullet-dev configuration, data, and all of its dependencies
We can use the following command to remove libbullet-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libbullet-dev
Dependencies
libbullet-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libbullet-dev
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.