How To Install python3-arcp on Kali Linux

In this tutorial we learn how to install python3-arcp on Kali Linux. python3-arcp is (Archive and Package) URI parser and generator

Introduction

In this tutorial we learn how to install python3-arcp on Kali Linux.

What is python3-arcp

python3-arcp is:

arcp provides functions for creating arcp_ URIs, which can be used for identifying or parsing hypermedia files packaged in an archive or package, like a ZIP file.

arcp URIs can be used to consume or reference hypermedia resources bundled inside a file archive or an application package, as well as to resolve URIs for archive resources within a programmatic framework.

This URI scheme provides mechanisms to generate a unique base URI to represent the root of the archive, so that relative URI references in a bundled resource can be resolved within the archive without having to extract the archive content on the local file system.

An arcp URI can be used for purposes of isolation (e.g. when consuming multiple archives), security constraints (avoiding ??climb out?? from the archive), or for externally identiyfing sub-resources referenced by hypermedia formats.

Examples:

  • arcp://uuid,32a423d6-52ab-47e3-a9cd-54f418a48571/doc.html
  • arcp://uuid,b7749d0b-0e47-5fc4-999d-f154abe68065/pics/
  • arcp://ni,sha-256;F-34D4TUeOfG0selz7REKRDo4XePkewPeQYtjL3vQs0/
  • arcp://name,gallery.example.org/

The different forms of URI authority_ in arcp URIs can be used depending on which uniqueness constraints to apply when addressing an archive. See the arcp specification (https://tools.ietf.org/html/draft-soilandreyes-arcp-02) for details.

Note that this library only provides mechanisms to generate and parse arcp URIs, and do not integrate with any particular archive or URL handling modules like “zipfile” or “urllib.request”.

There are three methods to install python3-arcp on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python3-arcp Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python3-arcp

Install python3-arcp Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-arcp

Install python3-arcp Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python3-arcp using aptitude by running the following command:

sudo aptitude -y install python3-arcp

How To Uninstall python3-arcp on Kali Linux

To uninstall only the python3-arcp package we can use the following command:

sudo apt-get remove python3-arcp

Uninstall python3-arcp And Its Dependencies

To uninstall python3-arcp and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove python3-arcp

Remove python3-arcp Configurations and Data

To remove python3-arcp configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge python3-arcp

Remove python3-arcp configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-arcp

Dependencies

python3-arcp have the following dependencies:

References

Summary

In this tutorial we learn how to install python3-arcp package on Kali Linux using different package management tools: apt, apt-get and aptitude.