How To Install nomarch on Ubuntu 22.04

In this tutorial we learn how to install nomarch on Ubuntu 22.04. nomarch is Unpacks .ARC and .ARK MS-DOS archives

Introduction

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

What is nomarch

nomarch is:

This is a de-archiving only replacement for the arc archiver from SEA. It can handle pkarc archives, as well as others. It can also be used with emacs - see the nomarch manpage.

This package is very useful for E-Mail virus scanner scripts for attachment unpacking.

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

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

sudo apt-get update

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

sudo apt-get -y install nomarch

Install nomarch Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nomarch

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

sudo aptitude -y install nomarch

How To Uninstall nomarch on Ubuntu 22.04

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

sudo apt-get remove nomarch

Uninstall nomarch And Its Dependencies

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

sudo apt-get -y autoremove nomarch

Remove nomarch Configurations and Data

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

sudo apt-get -y purge nomarch

Remove nomarch configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nomarch

References

Summary

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