How To Install ruby-ntlm on Kali Linux
Introduction
In this tutorial we learn how to install ruby-ntlm
on Kali Linux.
What is ruby-ntlm
ruby-ntlm is:
NTLM (NT LAN Manager) is an authentication protocol used in various Microsoft network protocol implementations. It employs a challenge-response mechanism for authentication, in which clients are able to prove their identities without sending a password to the server. This Ruby library provides message creator and parser for the NTLM authentication. It supports NTLM v1 only.
There are three methods to install ruby-ntlm
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 ruby-ntlm Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ruby-ntlm
using apt-get
by running the following command:
sudo apt-get -y install ruby-ntlm
Install ruby-ntlm Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-ntlm
using apt
by running the following command:
sudo apt -y install ruby-ntlm
Install ruby-ntlm 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 ruby-ntlm
using aptitude
by running the following command:
sudo aptitude -y install ruby-ntlm
How To Uninstall ruby-ntlm on Kali Linux
To uninstall only the ruby-ntlm
package we can use the following command:
sudo apt-get remove ruby-ntlm
Uninstall ruby-ntlm And Its Dependencies
To uninstall ruby-ntlm
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-ntlm
Remove ruby-ntlm Configurations and Data
To remove ruby-ntlm
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-ntlm
Remove ruby-ntlm configuration, data, and all of its dependencies
We can use the following command to remove ruby-ntlm
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-ntlm
Dependencies
ruby-ntlm have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-ntlm
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.