Skip to content

Instantly share code, notes, and snippets.

@brc
Last active May 18, 2018 11:35
Show Gist options
  • Save brc/998a584eea4ebc175833 to your computer and use it in GitHub Desktop.
Save brc/998a584eea4ebc175833 to your computer and use it in GitHub Desktop.
Installing VMWare tools in Arch Linux

Install OEM VMwareTools

git clone https://github.com/rasa/vmware-tools-patches.git
cd vmware-tools-patches
curl -O https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/6.0.5/2209127/packages/com.vmware.fusion.tools.linux.zip.tar
for i in {0..6}; do sudo mkdir -pv /etc/init.d/rc${i}.d; done
sudo pacman -S net-utils
./untar-and-patch-and-compile.sh

THE FAIL WAY

Download VMWare Player bundle:
http://softwareupdate.vmware.com/cds/vmw-desktop/player/7.0.0/2305329/linux/core/VMware-Player-7.0.0-2305329.x86_64.bundle.tar

Download Linux component of VMWare Tools:
http://softwareupdate.vmware.com/cds/vmw-desktop/player/7.0.0/2305329/linux/packages/vmware-tools-linux-9.9.0-2305329.x86_64.component.tar

Make init.d dirs and install ifconfig for Player:

for i in {0..6}; do sudo mkdir -pv /etc/init.d/rc${i}.d; done
sudo pacman -S net-utils

Install Player:

tar xvf VMware-Player-7.0.0-2305329.x86_64.bundle.tar
sudo bash VMware-Player-7.0.0-2305329.x86_64.bundle --eulas-agreed \
    --console --required --ignore-errors

Install Linux component:

tar xvf vmware-tools-linux-9.9.0-2305329.x86_64.component.tar
sudo vmware-installer --install-component \
    vmware-tools-linux-9.9.0-2305329.x86_64.component --console

ISO should now be at /usr/lib/vmware/isoimages/linux.iso.

Extract VMwareTools tarball:

sudo mount /usr/lib/vmware/isoimages/linux.iso /mnt/tmp
cp /mnt/tmp/VMwareTools-9.9.0-2304977.tar.gz .
tar xzf VMwareTools-9.9.0-2304977.tar.gz

Uninstall Player:

sudo vmware-installer -u vmware-player --console --required
sudo rm -rf /usr/lib/vmware-tools
sudo rm -rf /etc/vmware*

Resources:
https://wiki.archlinux.org/index.php/Installing_Arch_Linux_in_VMware
https://github.com/rasa/vmware-tools-patches https://wiki.archlinux.org/index.php/VMware
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1018414

@OrdenKrieger
Copy link

Thank you. That worked pretty well. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment