How To Install jam on Debian 11

In this tutorial we learn how to install jam on Debian 11. jam is Software-build tool, replacement for make

Introduction

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

What is jam

jam is:

Perforce’s Jam (formerly called Jam/MR) is a powerful and highly customizable utility to build programs and other things, that can run on Un*x, Nt, VMS, OS/2 and Macintosh MPW, using portable Jamfiles. It can build large projects spread across many directories in one pass, and can run jobs in parallel where make would not.

It takes some time to fully grasp, especially when one’s already accustomed to make(1), but there’s no comparison in power when comparing these two tools.

Standard rules:

  • can automatically extract header dependencies for C/C++ (you can customize for you own language)
  • provide for automatic “clean”, “install”, “uninstall” rules, so that an automake-like tool is not needed

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

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

sudo apt-get update

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

sudo apt-get -y install jam

Install jam Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install jam

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

sudo aptitude -y install jam

How To Uninstall jam on Debian 11

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

sudo apt-get remove jam

Uninstall jam And Its Dependencies

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

sudo apt-get -y autoremove jam

Remove jam Configurations and Data

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

sudo apt-get -y purge jam

Remove jam configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jam

Dependencies

jam have the following dependencies:

References

Summary

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