ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    I need help installing vmware tools for Centos!

    IT Discussion
    6
    39
    15.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MrWright4hire
      last edited by

      When I go to install vmware tools with this command:
      ./vmware-install.pl

      I get this error:
      open-vm-tools

      error: Failed dependencies:
      libhgfs.so.0()(64bit) is needed by (installed) open-vm-tools-desktop-9.4.0-3.el7.x86_64
      libvmtools.so.0()(64bit) is needed by (installed) open-vm-tools-desktop-9.4.0-3.el7.x86_64
      open-vm-tools(x86-64) = 9.4.0-3.el7 is needed by (installed) open-vm-tools-desktop-9.4.0-3.el7.x86_64
      Failed to remove the following packages:

      open-vm-tools

      Please manually remove them before installing VMware Tools.
      I don't know where to look for this.

      I've tried the following cmds:
      locate
      whereis

      I can't seem to find the problem.

      In advance, thank you for your time,
      Wrightit.

      1 Reply Last reply Reply Quote 0
      • nadnerBN
        nadnerB
        last edited by

        I'm not very experienced with Linux, but couldn't you try something like:
        sudo apt-get xxxxxx
         
        Does this help?: http://www.virtualtothecore.com/en/installing-vmware-tools-on-centos-6-via-yum/

        M thanksajdotcomT 2 Replies Last reply Reply Quote 0
        • M
          MrWright4hire @nadnerB
          last edited by

          @nadnerB said:

          I'm not very experienced with Linux, but couldn't you try something like:
          sudo apt-get xxxxxx
           
          Does this help?: http://www.virtualtothecore.com/en/installing-vmware-tools-on-centos-6-via-yum/

          nadner I'll give you the feed back tomorrow. I'm so beat right now. Nevertheless, thank you for trying to come to my rescue. Talk to you on the Mangolassi's Birthday.

          G'night!

          1 Reply Last reply Reply Quote 0
          • thanksajdotcomT
            thanksajdotcom @nadnerB
            last edited by

            @nadnerB said:

            I'm not very experienced with Linux, but couldn't you try something like:
            sudo apt-get xxxxxx
             
            Does this help?: http://www.virtualtothecore.com/en/installing-vmware-tools-on-centos-6-via-yum/

            You're thinking Ubuntu if you're talking apt-get. CentOS uses yum by default.

            1 Reply Last reply Reply Quote 2
            • thanksajdotcomT
              thanksajdotcom
              last edited by

              @nadnerB's tutorial looks good.

              Official VMware documentation has you do this...I follow the equivalent for Ubuntu and it works flawlessly...

              --
              Installing VMware Tools from the Command Line with the RPM Installer

              The first steps are performed on the host, within Workstation menus:

              1. Power on the virtual machine.

              2. After the guest operating system has started, prepare your virtual machine to install VMware Tools.

              Choose VM > Install VMware Tools.

              The remaining steps take place inside the virtual machine.

              1. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.

              Note: Some Linux distributions automatically mount CD-ROMs. If your distribution uses automounting, do not use the mount and umount commands below. You still must untar the VMware Tools installer to /tmp.

              Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom or if the mount point for a CD-ROM is not /mnt/cdrom, you must modify the following commands to reflect the conventions used by your distribution.

              mount /dev/cdrom /mnt/cdrom

              cd /tmp

              Note: If you have a previous installation, delete the previous vmware-distrib directory before installing. The default location of this directory is
              /tmp/vmware-tools-distrib.

              1. At the command prompt, enter:

              rpm -Uhv /mnt/cdrom/VMwareTools-5.0.0-<xxxx>.i386.rpm

              umount /dev/cdrom

              Where <xxxx> is the build/revision number of the VMware Workstation release.

              Note: If you attempt to install an rpm installation over a tar installation — or the reverse — the installer detects the previous installation and must convert the installer database format before continuing.

              1. Configure VMware Tools:

              vmware-config-tools.pl

              Respond to the questions the installer displays on the screen. Press Enter to accept the default value.

              1. Log off of the root account.

              exit

              1. Start X and your graphical environment.

              2. In an X terminal, launch the VMware Tools background application.

              vmware-toolbox &

              Note: You may run VMware Tools as root or as a normal user. To shrink virtual disks, you must run VMware Tools as root (su -).

              --

              Taken from here: https://www.vmware.com/support/ws5/doc/ws_newguest_tools_linux.html

              1 Reply Last reply Reply Quote 0
              • thanksajdotcomT
                thanksajdotcom
                last edited by

                In step 4, when you are trying to do the exact file name, just type out up to /mnt/cdrom/VMware and you should be able to tab complete the rest. That might even be overkill, but tab complete will be your friend! 😄

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  Apt-get doesn't exist on CentOS. Apt is unique to the Debian family (which includes Ubuntu.)

                  CentOS is part of the RPM ecosystem and you use YUM there.

                  1 Reply Last reply Reply Quote 1
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    There is something basic being missed here. CentOS comes with the VMware tools already installed and fully managed by the OS. If you follow the VMware docs it says this right in them.

                    Also your OS is telling you this. That's why it is saying that the tools are already there. There is nothing to install, everything is already working.

                    1 Reply Last reply Reply Quote 2
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      This is another case of CentOS being so easy that it is confusing for people coming from harder operating systems.

                      thanksajdotcomT 1 Reply Last reply Reply Quote 0
                      • thanksajdotcomT
                        thanksajdotcom @scottalanmiller
                        last edited by

                        @scottalanmiller said:

                        This is another case of CentOS being so easy that it is confusing for people coming from harder operating systems.

                        CentOS has VMware Tools installed by default? Is this on VMs only or on any install of CentOS period?

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          CentOS has the VMware tools built in in version 7.

                          thanksajdotcomT M 2 Replies Last reply Reply Quote 0
                          • thanksajdotcomT
                            thanksajdotcom @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            CentOS has the VMware tools built in in version 7.

                            That just seems odd to me...

                            nadnerBN scottalanmillerS 2 Replies Last reply Reply Quote 0
                            • nadnerBN
                              nadnerB @thanksajdotcom
                              last edited by

                              @thanksaj said:

                              That just seems odd to me...

                              I'm curious, why does that seem odd to you?
                              I think it's very clever. One less thing to install later.

                              scottalanmillerS 1 Reply Last reply Reply Quote 2
                              • scottalanmillerS
                                scottalanmiller @thanksajdotcom
                                last edited by

                                @thanksaj said:

                                That just seems odd to me...

                                Most Linux distros already come with the equivalent tools from Xen and KVM, why not VMware. Some, like Suse, come with HyperV's tools already as well. I think that it is both the most natural thing ever, given the way that all other packages in Linux work, and one of the smartest as it makes Linux so much easier than ever before and than anyone else.

                                coliverC 1 Reply Last reply Reply Quote 1
                                • scottalanmillerS
                                  scottalanmiller @nadnerB
                                  last edited by

                                  @nadnerB said:

                                  I think it's very clever. One less thing to install later.

                                  While that's nice, I think that it is minor. The far better thing is that the package is tested and maintained and automatically updated!

                                  1 Reply Last reply Reply Quote 1
                                  • coliverC
                                    coliver @scottalanmiller
                                    last edited by

                                    @scottalanmiller said:

                                    @thanksaj said:

                                    That just seems odd to me...

                                    Most Linux distros already come with the equivalent tools from Xen and KVM, why not VMware. Some, like Suse, come with HyperV's tools already as well. I think that it is both the most natural thing ever, given the way that all other packages in Linux work, and one of the smartest as it makes Linux so much easier than ever before and than anyone else.

                                    CentOS 7 also comes with Hyper-V tools pre-installed.

                                    scottalanmillerS 1 Reply Last reply Reply Quote 1
                                    • M
                                      MrWright4hire @scottalanmiller
                                      last edited by

                                      @scottalanmiller said:

                                      CentOS has the VMware tools built in in version 7.

                                      With that being said, should I try to delete the files that I extracted from the vmware disc that I mounted? Will it cause any problems having extra vmware folder in /tmp.

                                      Thank for that feed back.

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @coliver
                                        last edited by

                                        @coliver said:

                                        CentOS 7 also comes with Hyper-V tools pre-installed.

                                        Awesome.

                                        1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @MrWright4hire
                                          last edited by

                                          @MrWright4hire said:

                                          With that being said, should I try to delete the files that I extracted from the vmware disc that I mounted? Will it cause any problems having extra vmware folder in /tmp.

                                          Just wastes space. Just delete everything from /tmp. Many systems, like Solaris, mount /tmp into memory so that it is automatically flushed after every reboot. Many other systems use a cron job to blow away /tmp when it is on disk on a routine basis so that it doesn't collect dust.

                                          M 1 Reply Last reply Reply Quote 2
                                          • M
                                            MrWright4hire @scottalanmiller
                                            last edited by

                                            @scottalanmiller said:

                                            @MrWright4hire said:

                                            With that being said, should I try to delete the files that I extracted from the vmware disc that I mounted? Will it cause any problems having extra vmware folder in /tmp.

                                            Just wastes space. Just delete everything from /tmp. Many systems, like Solaris, mount /tmp into memory so that it is automatically flushed after every reboot. Many other systems use a cron job to blow away /tmp when it is on disk on a routine basis so that it doesn't collect dust.

                                            Will do! Thanks again for the feed back.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post