- Advertisement -
HomeVirtualizationVMwareHow to install VMware Tools in Raspberry Pi OS (Debian)

How to install VMware Tools in Raspberry Pi OS (Debian)

There are several reasons to install VMware Tools in Raspberry Pi OS, Linux Debian, or any other OS. Although this is an easy operation in Windows, in Linux-like systems, the process can be more complicated, especially if you are not familiar with the Linux CLI (Terminal). This blog post is an easy and quick approach to how to install VMware Tools in Raspberry Pi OS.

Note: This how-to guide is a follow up to Running Raspberry Pi OS in a Virtual Machine with VMware

VMware Tools is a suite of utilities that enhance the virtual machine guest operating system's performance and improve its management. Without VMware Tools installed in your guest operating system, guest performance lacks the necessary functionality.

For example, while testing your Raspberry Pi OS installation with VMware Workstation, one of the coolest things you could do to improve testing productivity is accessing the shared folder settings per VM. However, this option is only available after installing VMware Tools.

Install VMware Tools in Raspberry Pi OS

Note: Raspberry Pi OS is a distribution of Debian Linux. This process will work for both systems.

Step 1: Mount VMware Tools

- Advertisement -

Right-click on your Raspberry Pi OS VM and select Install VMware Tools.

Step 2: Prepare VMware Tools Script 

Note: This script is taken from the VMware Community. I modified some minor things to make it simple.

#!/bin/bash

mount /dev/cdrom
cd /media/cdrom0
cp VMwareTools-*.tar.gz /tmp
cd /tmp
tar xvzf VMwareTools-*.tar.gz
cd vmware-tools-distrib/
sudo apt-get install --no-install-recommends libglib2.0-0
sudo apt-get install --no-install-recommends build-essential
sudo apt-get install --no-install-recommends gcc-4.3 linux-headers-`uname -r`
sudo ./vmware-install.pl

Now, there are some ways to copy this script into your VM:

  • You can manually copy it. (Not recommend)
  • You can create an ISO file out of the script (in a notepad) and then mount it from VMware Workstation.
  • Or you can access this blog post from the Raspberry Pi OS web browser and simply copy and paste.

Step 3: Open the Terminal and create a file for the script

There are several ways to perform this, and using different editors. Let's use the vi editor. 

- Advertisement -

Open the Terminal, located near the web browser.

Create a new file with vi. Type vi tools.

Paste the script (from step 2) in the vi editor.

Press (colon) to open the prompt bar in the bottom left corner of the window.

Type wq after the colon and hit Enter. This will save the changes and exit.

How to Install VMware Tools in Raspberry Pi OS

Step 4: Run the VMware Tools Script

Type sudo bash tools.

The script will run. Type (yes) and hit Enter to all the prompts (like ten times).

raspberry-pi-os-vmware-tools

VMware tools will be installed in the Raspberry Pi OS. 

raspberry-pi-os-vmware-tools

Resources

VMware Workstation

Raspberry Pi Software

Juan Mulford
Juan Mulford
I have been active in IT for over fourteen years now. I am a solutions architect, working with storage, virtualization, and VDI solutions. For the past ten years, I have been living and working in Taiwan.

1 COMMENT

Leave a Reply

- Advertisement -

Popular Articles

mulcas.com-Raspberry-Pi

Raspberry Pi OS in a Virtual Machine with VMware

4
Although the Raspberry Pi OS is designed and optimized for the Raspberry Pi module, it is possible to test and use it without its hardware, with VMware. This solution can be useful if you are a developer (or just a curious guy) and don't have a Raspberry Pi module with you
Unable to delete inaccessible datastore

Unable to delete an "inaccessible" datastore

4
I was switching my storage array, so I migrated the VMs from that old datastore/storage to a new datastore/storage. The old datastore was shared by 3 ESXi hosts, no cluster. After migrating the VMs and unmount/delete the datastore, it was still presented in two of the ESXi hosts and was marked as inaccessible.
mulcas.com-VMware-OVF-Tool

How to export a Virtual Machine using the VMware OVF Tool

8
The VMware OVF Tool is implemented by VMware for easily importing and exporting virtual machines in Open Virtualization Format (OVF) standard format. Here, I want to show you how to download and install it, and then how to use it from a Windows machine.
This is not a valid source path / URL

This is not a valid source path / URL - SourceTree and Gitlab

0
I have been working on a project with a friend who set up a repository in Gitlab but even though I was able to view all projects on it, I couldn’t really join the repository. I was using SourceTree and Gitlab.
WinSCP VCSA

Unable to Access the VCSA 6.7 via WinSCP

9
One of the many and easiest ways to get the logs from the ESXi hosts and vCenter Server Appliance (VCSA), is accessing directly to the files directory using tools such as WinSCP, which helps to transfer the files between a local and a remote computer ( Ex. VCSA). I never have had issues with the ESXi hosts and WinSCP, however, trying to access the VCSA is a different story.
- Advertisement -

Recent Comments