How To Install libltdl7 on Kali Linux

In this tutorial we learn how to install libltdl7 on Kali Linux. libltdl7 is System independent dlopen wrapper for GNU libtool

Introduction

In this tutorial we learn how to install libltdl7 on Kali Linux.

What is libltdl7

libltdl7 is:

This package contains the run-time libltdl library.

A small library that aims at hiding the various difficulties of dlopening libraries from programmers. It is a system independent dlopen wrapper for GNU libtool.

It supports the following dlopen interfaces:

  • dlopen (Solaris, Linux and various BSD flavors)
  • shl_load (HP-UX)
  • LoadLibrary (Win16 and Win32)
  • load_add_on (BeOS)
  • GNU DLD (emulates dynamic linking for static libraries)
  • libtool’s dlpreopen

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

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

sudo apt-get update

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

sudo apt-get -y install libltdl7

Install libltdl7 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libltdl7

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

sudo aptitude -y install libltdl7

How To Uninstall libltdl7 on Kali Linux

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

sudo apt-get remove libltdl7

Uninstall libltdl7 And Its Dependencies

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

sudo apt-get -y autoremove libltdl7

Remove libltdl7 Configurations and Data

To remove libltdl7 configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libltdl7

Remove libltdl7 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libltdl7

Dependencies

libltdl7 have the following dependencies:

References

Summary

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