Software for the Open Enterprise™

How to install VMware 5.0 workstation on SUSE Linux 10.0

Novell Cool Solutions: Feature
By Joe Harmon

Rate This Page

Reader Rating  stars  from 65 ratings

Digg This - Slashdot This

Posted: 9 Sep 2005
 

Applies To:

  • SUSE Linux 10.0

Prerequisites

    • VMware 5.0 workstation
    • vmware-any-any-update93.tar.gz
    • kernel-source
    • gcc
    • gcc-c++
    • make

      Solution

      1. First we need to verify that the proper software has been installed on the workstation. Open a terminal and type rpm -qa kernel* gcc* make and hit Enter. Below are two examples from two separate machines. The packages we are looking for are the kernel (could be kernel-default, kernel-smp, or kernel-bigsmp), kernel-source, gcc, and gcc-c++.

        In Example 1 we have a kernel-default and a make file, but we are missing  the kernel-source, gcc, and gcc-c++ packages. This is what you would see with a typical installation.

        Example 1 - Workstation doesn't have the required packages.


        In Example 2 we have kernel-bigsmp, kernel-source, gcc, gcc-c++, and make. Note that the kernel-bigsmp and kernel-source version are identical. This is crucial.

        Example 2 - Workstation that does have the required packages.


      2. If you already have the necessary packages installed then move on to step 4, otherwise su - to root and type yast -i kernel-source gcc gcc-c++ and hit Enter.


      3. Once the installation has finished, verify that the proper packages have been installed by typing rpm -qa kernel* gcc* make and pressing Enter. Verify that you have the kernel-source, gcc, gcc-c++, and make packages installed. Make sure that the kernel (kernel-default, kernel-smp, or kernel-bigsmp) and the kernel-source version numbers match.


      4. You should still be in a terminal and you should be in as root (su -). Change to the /usr/src/linux directory, type make cloneconfig; make prepare-all and hit Enter.


      5. Once the console is back, install the VMware 5.0 workstation. In this example I am using the rpm package, so I will just install it by using the rpm -ivh VMware-workstation-5.0.0-13124.i386.rpm command. If you prefer you can either double click (GNOME) or single click (KDE) on the rpm file and it should prompt you to install it using yast, but it's healthy to get to know the command line as well.


      6. Download and extract the vmware-any-any-update93.tar.gz file by typing tar -xzf vmware-any-any-update93.tar.gz within the terminal at the location where the file was downloaded. After the file has been extracted, change to the /vmware-any-any-update93 directory and run the runme.pl script by typing ./runme.pl and pressing Enter.


      7. During the configuration I accepted all of the defaults to the questions that are asked. I have listed the questions below for reference only, so that you can see what the default questions will be. There are also certain point where you will need to press the Shift : keys and type in q to get out of certain screens. This happens during the license agreement as well as during the probing for available networks.

        • The file /usr/lib/vmware/modules/source/vmmon.tar that this script was about to install already exists. Overwrite? [yes]

        • The file /usr/lib/vmware/modules/source/vmnet.tar that this script was about to
          install already exists. Overwrite? [yes]

        • Before running VMware for the first time after update, you need to configure it
          for your running kernel by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this script to invoke the command for you now? [yes]

        • You must read and accept the End User License Agreement to continue.
          Press enter to display it.

        • Do you accept? (yes/no) yes

        • In which directory do you want to install the mime type icons?
          [/usr/share/icons]

        • What directory contains your desktop menu entry files? These files have a
          .desktop file extension. [/usr/share/applications]

        • In which directory do you want to install the application's icon?
          [/usr/share/pixmaps]

        • None of the pre-built vmmon modules for VMware Workstation is suitable for your running kernel.  Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes]

        • What is the location of the directory of C header files that match your running
          kernel? [/usr/src/linux/include]

        • Do you want networking for your virtual machines? (yes/no/help) [yes]

        • Do you want to be able to use NAT networking in your virtual machines? (yes/no)[yes]

        • Do you want this program to probe for an unused private subnet? (yes/no/help)[yes]

        • Do you wish to configure another NAT network? (yes/no) [no]

        • Do you want to be able to use host-only networking in your virtual machines?
          [yes]

        • Do you want this program to probe for an unused private subnet? (yes/no/help)[yes]

        • Do you wish to configure another host-only network? (yes/no) [no]

        • The configuration of VMware Workstation 5.0.0 build-13124 for Linux for this
          running kernel completed successfully.

          You can now run VMware Workstation by invoking the following command:
          "/usr/bin/vmware".

      8. Your VMware launcher should be under the System > More Programs menu.

      Reader Comments

      • Link http://ftp.cvut.cz/vmware/vmware-any-any-update93.tar.gz is down Reply: Link updated.
      • Very helpful! It worked.
      • there is no gcc and gcc+ on SuSE 10.0 DVD. we know how to install, we don't need instructions, - we need gcc and gcc+
      • This is brilliant support guys, I'm gobsmacked
      • Thanks, it works great!
      • If using latest version of vm workstation (ie 5.5) you will need to use the vmware-any-any-update101.tar.gz file instead of the '93' version.
      • Did anyone try these instructions with VMWare GSX server? It's now called VMWare server and more importantly it's free.
      • Great instructions,works with VMware Server 5.5 on SUSE 10.1, thank's a lot.
      • Alleluia! That is exactly what I needed, Even I can follow it :)
      • Very clear and accurate instructions, thank you.
      • Wow .... this is awesome support
      • This was nice. This solved my installation problem on 10.0RC1. Many and big thanks for the solution!!
      • LIes, no way to load kernel-bigsmp (reply from Joe) hmmm, i don't understand this comment. In order to have kernel-bigsmp loaded you have to have 4 gig of ram. I am currenltly running it. The document simply lists that you may have kernel-default, -smp, or -bigsmp.
      • Great job!!!
      • just what i was looking for!
      • great work!
      • Excellent article! Very detailed!
      • all works well!
      • This is one of the best writeups I have seen on this iste! Awesome job!
      • worked like a charm!
      • Excellent, been waiting around for this.
      • EXCELLENT! Thanks for the info - glad I found this before I went nuts! I did have a hard time finding the any-any app mentioned, where did everyone else go to get it? (reply from Joe) In the step where you are told to download the patch, the word download is a link to the patch.
      • 12 out of 10 points! Took me about 3-4 minutes to get VMWare running! Many thanks!
      • Perfect. This is the kind of support that will get novell to higher places. Thank you very much.
      • Excelent
      • Realy clear and great simple explanation. Most of all: IT WORKS!
      • thix it REALLY saves my but ;p you rock ;]
      • I follow step by step and works !! but my vmware use the firs ethernet card and not mi wifi card. How I can to use the wifi card?
      • Thanks for the effort, it works fine
      • Thats a great and cool solution!!!
      • Helpful for Workstation 4.5.3. However, I would like to know why we have to download the vmware update gz file from a Czech ftp server. What exactly is this file and why isn't it provided by vmware? Reply from Joe You can go and find the same file on vmwares site if you want. This is just one that I found on the internet. And if you are using vmware 5.5 then you don't need the vmware-any-any patch.
      • Excellent Job!!! I had been going nuts trying to install the latest release of Dazuko, and this summary was wonderful in helping me prepare SuSE 10.0 so I could successfully compile Dazuko. Excellent documentation and exceptionally clear!!! THANK YOU!!! Duane
      • Some update, on SuSE 10.1 or SLED Beta, maybe you need add kernel-syms packages like prerequisites and on step 4 change commands to: make cloneconfig; make modules_prepare Other steps don't changed.
      • Very Good Info! Thank You!
      • PERFECT! Well Written and Extremely Helpful! THANK YOU! THANK YOU!
      • I followed all the steps, but at point 6 when I run ./runme.pl I have the follwoing error: Unable to open the installer database /etc/vmware/locations in read-mode. Execution aborted. Do you have any suggestions. Thanks
      • perfect explanation... even worked on FC5

      Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. http://www.novell.com/coolsolutions/feature/

      Corporate Governance | Legal | Privacy | Subscribe | Feedback | Glossary | RSS | Contact

      © 2006 Novell, Inc. All Rights Reserved.