Install latest open-vm-tools from source on CentOS 7

 

 Instructions

  1. Remove existing open-vm-tools:

    sudo yum remove open-vm-tools
  2. Install open-vm-tools dependencies:

    yum install build-essential libmspack-devel libxml2-devel \ xmlsec1-devel libXext-devel libXinerama-devel libXi-devel \ libcurl-devel curl protobuf-compiler protobuf protobuf-devel \ grpc-cpp rpc-plugins grpc-devel containerd-devel libtool-ltdl-devel \ glib2-devel pam-devel
  3. Download latest open-vm-tools source:

    wget https://github.com/vmware/open-vm-tools/releases/download/stable-12.1.0/open-vm-tools-12.1.0-20219665.tar.gz
  4. Uncompress tar ball:

  5. Build open-vm-tools:

  6. Create vmtoolsd.service in /usr/lib/systemd/system/ with the following content:

  7. Create vgauthd.service in /usr/lib/systemd/system/ with the following content:

  8. Reload systemd units:

  9. Enable and start units:

  10. Check open-vm-tools version with either vmtoolsd or vmware-rpctool:

  11. Finally, check with the vss-cli:

University of Toronto - Since 1827