How To Install libusbredirhost-dev on Kali Linux
Introduction
In this tutorial we learn how to install libusbredirhost-dev
on Kali Linux.
What is libusbredirhost-dev
libusbredirhost-dev is:
Usbredirhost is a library implementing the usb-host (*) side of a usbredir connection. All that an application wishing to implement an usb-host needs to do is:
- Provide a libusb device handle for the device
- Provide write and read callbacks for the actual transport of usbredir data
- Monitor for usbredir and libusb read/write events and call their handlers
This package contains the development header files.
There are three methods to install libusbredirhost-dev
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 libusbredirhost-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libusbredirhost-dev
using apt-get
by running the following command:
sudo apt-get -y install libusbredirhost-dev
Install libusbredirhost-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libusbredirhost-dev
using apt
by running the following command:
sudo apt -y install libusbredirhost-dev
Install libusbredirhost-dev 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 libusbredirhost-dev
using aptitude
by running the following command:
sudo aptitude -y install libusbredirhost-dev
How To Uninstall libusbredirhost-dev on Kali Linux
To uninstall only the libusbredirhost-dev
package we can use the following command:
sudo apt-get remove libusbredirhost-dev
Uninstall libusbredirhost-dev And Its Dependencies
To uninstall libusbredirhost-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libusbredirhost-dev
Remove libusbredirhost-dev Configurations and Data
To remove libusbredirhost-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libusbredirhost-dev
Remove libusbredirhost-dev configuration, data, and all of its dependencies
We can use the following command to remove libusbredirhost-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libusbredirhost-dev
Dependencies
libusbredirhost-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libusbredirhost-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.