How To Install libbullet2.87 on Ubuntu 18.04

In this tutorial we learn how to install libbullet2.87 on Ubuntu 18.04. libbullet2.87 is professional 3D Game Multiphysics Library

Introduction

In this tutorial we learn how to install libbullet2.87 on Ubuntu 18.04.

What is libbullet2.87

libbullet2.87 is:

Bullet professional 3D Game Multiphysics Library provides state of the art collision detection, soft body and rigid body dynamics.

This package contains shared runtime libraries including BulletCollision, BulletDynamics, BulletSoftbody, LinearMath and all Bullet 3 libraries.

For more information about Bullet, please refer to the libbullet-dev package.

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

Install libbullet2.87 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libbullet2.87

Install libbullet2.87 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libbullet2.87 using apt by running the following command:

sudo apt -y install libbullet2.87

Install libbullet2.87 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libbullet2.87

How To Uninstall libbullet2.87 on Ubuntu 18.04

To uninstall only the libbullet2.87 package we can use the following command:

sudo apt-get remove libbullet2.87

Uninstall libbullet2.87 And Its Dependencies

To uninstall libbullet2.87 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libbullet2.87

Remove libbullet2.87 Configurations and Data

To remove libbullet2.87 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libbullet2.87

Remove libbullet2.87 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libbullet2.87

References

Summary

In this tutorial we learn how to install libbullet2.87 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.