How To Install yade on Debian 11

In this tutorial we learn how to install yade on Debian 11. yade is Platform for discrete element modeling

Introduction

In this tutorial we learn how to install yade on Debian 11.

What is yade

yade is:

Yet Another Dynamic Engine.

Extensible open-source framework for discrete numerical models, focused on Discrete Element Method. The computation parts are written in c++ using flexible object model, allowing independent implementation of new algorithms and interfaces. Python is used for rapid and concise scene construction, simulation control, postprocessing and debugging.

This package contains speed-optimized build of yade.

There are three methods to install yade 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 yade Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install yade

Install yade Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install yade

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

sudo aptitude -y install yade

How To Uninstall yade on Debian 11

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

sudo apt-get remove yade

Uninstall yade And Its Dependencies

To uninstall yade and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove yade

Remove yade Configurations and Data

To remove yade configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge yade

Remove yade configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge yade

Dependencies

yade have the following dependencies:

References

Summary

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