How To Install original-awk on Debian 12

Learn how to install original-awk on Debian 12 with this tutorial. original-awk is The original awk described in The AWK Programming Language

Introduction

In this tutorial we learn how to install original-awk on Debian 12.

What is original-awk

original-awk is:

This is the version of awk described in “The AWK Programming Language”, by Al Aho, Brian Kernighan, and Peter Weinberger (Addison-Wesley, 1988, ISBN 0-201-07981-X).

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

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

sudo apt-get update

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

sudo apt-get -y install original-awk

Install original-awk Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install original-awk

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

sudo aptitude -y install original-awk

How To Uninstall original-awk on Debian 12

To uninstall only the original-awk package we can use the following command:

sudo apt-get remove original-awk

Uninstall original-awk And Its Dependencies

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

sudo apt-get -y autoremove original-awk

Remove original-awk Configurations and Data

To remove original-awk configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge original-awk

Remove original-awk configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge original-awk

Dependencies

original-awk have the following dependencies:

References

Summary

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