How To Install libchipmunk0d3 on Ubuntu 20.04

In this tutorial we learn how to install libchipmunk0d3 on Ubuntu 20.04. libchipmunk0d3 is fast and lightweight 2D rigid body physics library in C

Introduction

In this tutorial we learn how to install libchipmunk0d3 on Ubuntu 20.04.

What is libchipmunk0d3

libchipmunk0d3 is:

Chipmunk is a simple, lightweight, fast and portable 2D rigid body physics library written in C. It’s licensed under the unrestrictive, OSI approved MIT license. Its aim is to give 2D developers access the same quality of physics you find in newer 3D games.

There are three methods to install libchipmunk0d3 on Ubuntu 20.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 libchipmunk0d3 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libchipmunk0d3

Install libchipmunk0d3 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libchipmunk0d3

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

sudo aptitude -y install libchipmunk0d3

How To Uninstall libchipmunk0d3 on Ubuntu 20.04

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

sudo apt-get remove libchipmunk0d3

Uninstall libchipmunk0d3 And Its Dependencies

To uninstall libchipmunk0d3 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libchipmunk0d3

Remove libchipmunk0d3 Configurations and Data

To remove libchipmunk0d3 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libchipmunk0d3

Remove libchipmunk0d3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libchipmunk0d3

References

Summary

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