How To Install arc on Debian 12

Learn how to install arc on Debian 12 with this tutorial. arc is archive utility based on the MS-DOS ARC program

Introduction

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

What is arc

arc is:

This program is based on the MS-DOS ARC program, version 5.21, plus a few enhancements.

ARC also performs Huffman Squeezing on data. The Huffman Squeeze algorithm was removed from MS-DOS ARC after version 5.12. It turns out to be more efficient than Lempel-Ziv style compression when compressing graphic images. Squeeze analysis is always done now, and the best of packing, squeezing, or crunching is used.

Compresses and extracts Squashed files. “Squashing” was created by Phil Katz in his PKxxx series of ARC utility programs for MS-DOS. Dan Lanciani wrote the original modifications to ARC’s Crunch code to handle Squashing. Klaus Reimer made minor changes since then, mostly to reduce the amount of memory required. The ‘q’ option flag must be specified to Squash files. The Squashing algorithm will be used instead of the usual Crunch algorithm, and will be compared against packing and squeezing, as before.

This package provides the arc and marc commands. MARC can be used to merge files compressed by ARC.

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

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

sudo apt-get update

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

sudo apt-get -y install arc

Install arc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install arc

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

sudo aptitude -y install arc

How To Uninstall arc on Debian 12

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

sudo apt-get remove arc

Uninstall arc And Its Dependencies

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

sudo apt-get -y autoremove arc

Remove arc Configurations and Data

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

sudo apt-get -y purge arc

Remove arc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge arc

Dependencies

arc have the following dependencies:

References

Summary

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