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

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. 

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
Hey there! I've been in the IT game for over fifteen years now. After hanging out in Taiwan for a decade, I am now in the US. Through this blog, I'm sharing my journey as I play with and roll out cutting-edge tech in the always-changing world of IT.

2 COMMENTS

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

7
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.
This is not a valid source path / URL

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

1
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.
mulcas.com-VMware-OVF-Tool

How to export a Virtual Machine using the VMware OVF Tool

9
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.
Couldn't load private key - Putty key format too new - mulcas.com

Couldn't load private key - Putty key format too new

5
couldn't load private key - Putty key format too new.” This issue happens when you use PuTTygen to generate or convert to a ppk key. Here is how to fix it. 
- Advertisement -

Recent Comments