How To Install shake on Debian 12

Learn how to install shake on Debian 12 with this tutorial. shake is Testing engine for the Lua language version 5.1

Introduction

In this tutorial we learn how to install shake on Debian 12.

What is shake

shake is:

The shake utility is a simple and transparent test engine for Lua.

Shake gives concise reports when the tests succeed, while it prints detailed traces when tests fail.

Regular Lua test files, if written using only standard assert and print calls, can be run with shake with no modifications.

This package contains the shake command line utility, the Lua modules that implement shake functionalities and the documentation for both.

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

Install shake Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install shake

Install shake Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install shake

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

sudo aptitude -y install shake

How To Uninstall shake on Debian 12

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

sudo apt-get remove shake

Uninstall shake And Its Dependencies

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

sudo apt-get -y autoremove shake

Remove shake Configurations and Data

To remove shake configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge shake

Remove shake configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge shake

Dependencies

shake have the following dependencies:

References

Summary

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