• Install open-vm-tools on CentOS 6.x

How to install open-vm-tools on CentOS 6.x x64.

First you need to add the EPEL repository, there is no need to download epel-release files any more - it's now in the CentOS extras repo so you can just

yum --enablerepo=extras install epel-release

Extras is enabled by default but the --enablerepo caters for those that have disabled it,

Next install open-vm-tools:

yum install open-vm-tools

Then last is to disable the EPEL repo if you don't want it to interfere with any other yum updates:

vi /etc/yum.repos.d/epel.repo

Look for the following line and set enabled=0

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

Then simply reboot and you're all done.


This article was last modified: May 8, 2017, 4:23 p.m.

0 Comments

Please log in to leave a comment.

Add or change tags.

A comma-separated list of tags.

Share

Hacker News

Top