How To Install ftjam on Ubuntu 22.04

In this tutorial we learn how to install ftjam on Ubuntu 22.04. ftjam is FreeType version of Jam, a replacement for make

Introduction

In this tutorial we learn how to install ftjam on Ubuntu 22.04.

What is ftjam

ftjam is:

This is a version of Jam with additional features and bugfixes, which is maintained by the FreeType project.

Perforce’s Jam (formerly called Jam/MR, available in package “jam”) 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 apprehend, 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 ftjam on Ubuntu 22.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 ftjam Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ftjam

Install ftjam Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ftjam

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

sudo aptitude -y install ftjam

How To Uninstall ftjam on Ubuntu 22.04

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

sudo apt-get remove ftjam

Uninstall ftjam And Its Dependencies

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

sudo apt-get -y autoremove ftjam

Remove ftjam Configurations and Data

To remove ftjam configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge ftjam

Remove ftjam configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ftjam

References

Summary

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