Last active
May 24, 2017 00:09
-
-
Save gojimmypi/357e8ffc0332abc839f1ac4c6000f86e to your computer and use it in GitHub Desktop.
install vmware tools for linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# we are assuming VMware tools are ready to be installed. Click Tools - Reinstall VMware tools if needed | |
# if you copy/paste this instead of using in a shell, be sure to use your login in place of $USER, below | |
cd ~/ | |
# Ensure there's a ~/Downloads directory | |
if [ ! -d "Downloads" ]; then | |
mkdir ~/Downloads | |
fi | |
cd ~/Downloads/ | |
# Ensure there's a ~/Downloads/WMWare directory | |
if [ ! -d "VMWare" ]; then | |
mkdir VMWare | |
fi | |
cd VMWare | |
cp '/media/$USER/VMware Tools/'* ./ | |
tar -xvf VMwareTools*.tar.gz | |
cd vmware-tools-distrib | |
cat INSTALL | |
echo "Press a key to sudo ./vmware-install.pl" | |
read | |
sudo ./vmware-install.pl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment