How To Install open-vm-tools on Kali Linux
Introduction
In this tutorial we learn how to install open-vm-tools
on Kali Linux.
What is open-vm-tools
open-vm-tools is:
The Open Virtual Machine Tools (open-vm-tools) project is an open source implementation of VMware Tools. It is a suite of virtualization utilities and drivers to improve the functionality, user experience and administration of VMware virtual machines.
This package contains only the core user-space programs and libraries.
There are three methods to install open-vm-tools
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 open-vm-tools Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install open-vm-tools
using apt-get
by running the following command:
sudo apt-get -y install open-vm-tools
Install open-vm-tools Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install open-vm-tools
using apt
by running the following command:
sudo apt -y install open-vm-tools
Install open-vm-tools 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 open-vm-tools
using aptitude
by running the following command:
sudo aptitude -y install open-vm-tools
How To Uninstall open-vm-tools on Kali Linux
To uninstall only the open-vm-tools
package we can use the following command:
sudo apt-get remove open-vm-tools
Uninstall open-vm-tools And Its Dependencies
To uninstall open-vm-tools
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove open-vm-tools
Remove open-vm-tools Configurations and Data
To remove open-vm-tools
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge open-vm-tools
Remove open-vm-tools configuration, data, and all of its dependencies
We can use the following command to remove open-vm-tools
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge open-vm-tools
Dependencies
open-vm-tools have the following dependencies:
- libc6
- libdrm2
- libfuse2
- libgcc-s1
- libglib2.0-0
- libmspack0
- libssl1.1
- libudev1
- libxml2
- libxmlsec1
- libxmlsec1-openssl
- pciutils
- iproute2
- lsb-release
- net-tools
References
Summary
In this tutorial we learn how to install open-vm-tools
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.