How To Install archivemount on Debian 11

In this tutorial we learn how to install archivemount on Debian 11. archivemount is mounts an archive for access as a file system

Introduction

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

What is archivemount

archivemount is:

archivemount is a FUSE based file system for Unix variants, including Linux. Its purpose is to mount archives to a mount point where it can be read from or written to as with any other file system. This makes accessing the contents of the archive, which maybe compressed, transparent to other programs, without decompressing them. The archive formats that archivemount supports are:

  • old-style tar archives, .
  • most variants of the POSIX ‘ustar’ format, .
  • the POSIX ‘pax interchange’ format, .
  • GNU-format tar archives, .
  • most common cpio archive formats, .
  • ISO9660 CD images (with or without RockRidge extensions), .
  • Zip archives. .
  • two different variants of shar archives. . archivemount is FUSE (Filesystem in USErspace).

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

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

sudo apt-get update

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

sudo apt-get -y install archivemount

Install archivemount Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install archivemount

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

sudo aptitude -y install archivemount

How To Uninstall archivemount on Debian 11

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

sudo apt-get remove archivemount

Uninstall archivemount And Its Dependencies

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

sudo apt-get -y autoremove archivemount

Remove archivemount Configurations and Data

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

sudo apt-get -y purge archivemount

Remove archivemount configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge archivemount

Dependencies

archivemount have the following dependencies:

References

Summary

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