How To Install ntlmaps on Debian 10

Learn how to install ntlmaps on Debian 10 with this tutorial. ntlmaps is NTLM Authorization Proxy Server

Introduction

In this tutorial we learn how to install ntlmaps on Debian 10.

What is ntlmaps

ntlmaps is:

‘NTLM Authorization Proxy Server’ (APS) is a proxy software that allows you to authenticate via an MS Proxy Server (e.g. ISA server) using the proprietary NTLM protocol. Since version 0.9.5 APS has an ability to behave as a standalone proxy server and authenticate http clients at web servers using NTLM method. It can change arbitrary values in your client’s request header so that those requests will look like they were created by MS IE. It is written in Python v1.5.2 language.

Main features: * supports NTLM authentication via parent proxy server (Error 407 Proxy Authentication Required) * supports NTLM authentication at web servers (Error 401 Access Denied/Unauthorized) * supports translation of NTLM scheme to standard “Basic” authentication scheme * supports the HTTPS ‘CONNECT’ method for transparent tunnelling through parent proxy server * has ability to change arbitrary values in client’s request headers; * supports unlimited number of client connections * supports connections from external hosts * supports HTTP 1.1 persistent connections * stores user’s credentials in config file or requests password from a console during the start time

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

Install ntlmaps Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ntlmaps

Install ntlmaps Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ntlmaps

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

sudo aptitude -y install ntlmaps

How To Uninstall ntlmaps on Debian 10

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

sudo apt-get remove ntlmaps

Uninstall ntlmaps And Its Dependencies

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

sudo apt-get -y autoremove ntlmaps

Remove ntlmaps Configurations and Data

To remove ntlmaps configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge ntlmaps

Remove ntlmaps configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ntlmaps

Dependencies

ntlmaps have the following dependencies:

References

Summary

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