LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 06-17-2008, 03:25 PM   #1
linuxmaveric
Member
 
Registered: Aug 2007
Location: Southern California
Distribution: Ubuntu 8.04 for my desktop & FreeBSD 7.0 for my server blade.
Posts: 31

Rep: Reputation: 15
Smile How to install vmware player in Ubuntu 7.10 or 8.04 tutorial.


Some of my friends have asked me many times how I install Vmware player for Ubuntu 7.10 or 8.04. So here's my basic tutorial. I hope this makes sense everyone. This tutorial will explain how to install VMware Player on Ubuntu Gutsy or Hardy Heron.

Download the most current tar.gz package ( VMware-player-2.0.5-109488.i386.tar.gz) from the VMware website.
http://www.vmware.com/download/player/download.html

Before you do anything, there are some things you have to look up and download in your Ubuntu system.
First you have to see what linux kernel you are using on your Ubuntu Linux PC.
Bring up your bash shell from the "applications menu bar". Click on "terminal" which is under "accessories". Type in the following command at the bash command line:

uname -r

This command will return the following linux kernel results:

2.6.22-14-generic (Gutsy Gibbon)
or
2.6.24-21-generic (Hardy Heron)

Or the kernel maybe another version so use "uname -r" command to make sure what kernel version for the headers you need.


I have 2.6.24-21-generic, so I have to install the linux headers files for my kernel version:
(if your using Ubuntu 7.10 Gutsy install headers for 2.6.22-14-generic kernel)

Enter the following command:

sudo apt-get install linux-headers-2.6.24-21-generic

You also need to make sure you have "build-essential" package installed in your system before you install vmware-player.

Enter the following command:

sudo apt-get install build-essential

Now download VMware Player tar.gz package from the VMware website. At this time the most recent package is: VMware-player-2.0.5-109488.i386.tar.gz


Once the download is complete move the Vmware tar package to your home folder in "Gnome" or move it to your home directory in the command line. Now untar the .tar.gz file using the following command:

tar -xzvf VMware-player-2.0.5-109488.i386.tar.gz


The tar.gz package is now extracted.

Now you need to change into the vmware directory with the following command:

cd vmware-player-distrib

Now it's time for the fun stuff: Installing with the following command:

sudo ./vmware-install.pl

During the installation you must answer some basic questions. For a standard installation enter the following:

In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
What is the directory that contains the init scripts?
[/etc/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware]
The path “/usr/lib/vmware” does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]
The path “/usr/share/doc/vmware” does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
Before running VMware Player for the first time, you need to configure it by
invoking the following command: “/usr/bin/vmware-config.pl”. Do you want this
program to invoke the command for you now?
[yes]
In which directory do you want to install the theme 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 Player 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?
[/lib/modules/2.6.22-14-generic/build/include]
None of the pre-built vmblock modules for VMware Player is suitable for your
running kernel. Do you want this program to try to build the vmblock module
for your system (you need to have a C compiler installed on your system)?
[yes]
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]

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


The installation process is now finished
and you can start VMware Player from your Applications Menu under "system tools". (Gnome)

If for some reason you don't like VMware-player and you want to try something else use the following command in the command line to remove Vmware player:

sudo /usr/bin/vmware-uninstall.pl

Have fun!
P.S. If you are looking for vmware virtual images to play around with I suggest the following website:
http://www.vmware.com/appliances/directory/cat/45

If you are interested in making your very own virtual OS images try this website:
http://www.easyvmx.com/ (use the Easy-VMX ver 2.0)

Once again have fun!

Last edited by linuxmaveric; 05-10-2011 at 10:25 PM.
 
Old 09-24-2008, 01:00 AM   #2
emmanuel matuco
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
thank you so much for your article on installing VMware.
Need your help though. I am a newbie in Linux.

I have downloaded VMware into my USB Kingston (external flashdrive)
as a tar.gz.
My OS is Ubuntu 8.04.
How do I transfer those files into the Gnome or Home folder in Linux OS?
Would you kindly give me the specific commands to be typewritten in the command line? like for example the "build commands" and the "move" commands" from USB to Ubuntu folder?

Your article didnt include the specific commands to move those tar.gz files from my USB to my Linux folders through the command line.

after that, I'll follow the "commands" in your article on installing VMware.

sincerely much thanks.....emmanuel
 
Old 11-06-2008, 07:35 AM   #3
social714
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Installing VMplayer in gOS3

Hi, thank you for sharing... finally see light in getting my gOS to run VMplayer.

I follow your first two steps only manage to get the build-essential installed.
I could not get the linux-header install at all.

sudo apt-get install linux-headers2.6.24-21-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers2.6.24-21-generic

How to resolve this?
thank you very much
 
Old 11-07-2008, 01:53 AM   #4
linuxmaveric
Member
 
Registered: Aug 2007
Location: Southern California
Distribution: Ubuntu 8.04 for my desktop & FreeBSD 7.0 for my server blade.
Posts: 31

Original Poster
Rep: Reputation: 15
Smile re:Installing VMplayer in gOS3

HI! I think the problem is that you maybe trying to install the wrong linux headers. I don't use GOS3 and GOS3 might not be using the same linux headers & kernel I used as an example in the tutorial.
The Fix:
In your terminal just type the following command: uname -r
and this will give you your linux kernel version.
for example:
uname -r 2.6.22-14-generic
This is the hypothetical version that is installed. Then you would use the following commands to get your headers:

sudo apt-get install linux-headers-2.6.22-14-generic.

This is just an example. Your almost there you just need to figure out what kernel version your using. Good luck and let me know if you get vmplayer up and running.
Good luck!
RR.

Last edited by linuxmaveric; 11-07-2008 at 01:54 AM.
 
Old 12-24-2008, 05:24 PM   #5
locutus42
LQ Newbie
 
Registered: Jun 2005
Posts: 27

Rep: Reputation: 15
enable USB 2.0 support

add folloing lines to your vmx file:

Code:
scsi0.present = "TRUE"
scsi0.pciSlotNumber = "18"
ehci.present = "TRUE"
ehci.pciSlotNumber = "19"
IMPORTANT: if your vmx file already has [scsi0.present = "TRUE"] then just comment the new one out with a leading "#" sign or delete the line.

This has been verified on Ubuntu 8.04 LTS as the host, with VMware Player v2.5.1 running the Overdrive Media Console software on a Windows XP virtual machine. The device was a SANDISK Sansa Fuze media player. And Windows Media Player v10 was used.

FYI, gawd I just can't wait til this ebook DRM stuff is fully functional in Linux.
 
  


Reply

Tags
player, vmware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing VMware Player on Ubuntu 7.10 taylorkh Linux - Software 7 03-06-2008 08:01 PM
How do i install Vmware Player jeffkelly Linux - Newbie 3 01-01-2008 12:46 PM
VMWare Player Install on Slackware 12.0 perry Slackware 23 11-04-2007 12:32 PM
VMware Player, easyVMX & Ubuntu - Video Tutorials blindhog Linux - Newbie 0 04-11-2007 10:20 PM
VmWare-Player install fullgore Slackware 8 03-06-2007 12:52 PM


All times are GMT -5. The time now is 11:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration