Novell Home

How to install VMware 5.0 workstation on SUSE Linux 10.0

Novell Cool Solutions: Feature
By Joe Harmon

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.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell