View Full Version : How to install VMware tools in Linux( VMware server)
aigle
August 20th, 2007, 10:29 AM
I have installed Kubuntu and PCLinuxOS in VMware server and I am trying to install VMware tools in them but failed.
Tried with PCLinuxOS:
VM> Install VMware tools
It mounted the CD with rpm and tar files.
1- Double clicked rpm package and it gives a popup like shown in snapshot, not sure what to do.
2- Tried the commands for tar package and failed, see the snapshot.
Any help please?
Thanks
zapjb
August 20th, 2007, 10:41 AM
Install KPackage through Synaptic.
Right click on any rpm, open with KPackage.
But extensively search Synaptic 1st, for whatever software.
iceni60
August 20th, 2007, 10:46 AM
i installed that once, i think i remember just having to click something in the menu and it was done automatically ???
the reason you have that error is because you are trying to uncompress the file while it's still on the cd, you need to copy it somewhere like your desktop first 8) edit: i'm talking about the first screenshot.
maybe this will work if you want to extract to the /tmp directory.
tar -C /tmp -zxvf /mnt/cdrom/VMwareTools-*.tar.gz
aigle
August 20th, 2007, 11:17 AM
{QUOTE-> i installed that once, i think i remember just having to click something in the menu and it was done automatically ???
the reason you have that error is because you are trying to uncompress the file while it's still on the cd, you need to copy it somewhere like your desktop first 8) edit: i'm talking about the first screenshot.
maybe this will work if you want to extract to the /tmp directory.
tar -C /tmp -zxvf /mnt/cdrom/VMwareTools-*.tar.gz <-QUOTE}
Basically I tried to follow instructions given here( these are basically for VMware workstation but I hope to be the same for server).
http://pubs.vmware.com/ws6_ace2/workstation/wwhelp/wwhimpl/common/html/wwhelp.htm?context=workstation&file=new_guest_tools_ws.html
http://www.vmware.com/support/ws3/doc/ws32_newguest11.html#1008207
Ok, I copied them to desktop and tried this, again error. May be my commands are wrong.
Alphalutra1
August 20th, 2007, 11:52 AM
I don't know what weird things kubuntu does with automounting and the like, but since it is on your desktop, you should be able to just:
cd /tmp
tar -zxvf /home/shahbaz/Desktop/VMWare-Tools-1.0.3-44056.tar.gz (to make it simpler, just hit tab after typing VM and it should auto-complete it for you ;) )
Then follow the rest of the instructions.
Cheers,
Alphalutra1
aigle
August 20th, 2007, 11:58 AM
Thanks Alpha, will try and report back.:)
BTW i am trying it in PCLinuxOS, kubuntu is not running ATM.
aigle
August 20th, 2007, 12:25 PM
Thanks Alpha, I was able to install VM tools.:)
Now another thread about the VM tools itself.;D
Thanks
iceni60
August 20th, 2007, 02:25 PM
you're just getting the commands slightly wrong when you type them. you did this
cd \Desktop
that does get you to your desktop, but you can leave out the \. a slash in that direction, \, means (and i'm going to explain this really badly :P it doesn't matter if it doesn't make sense right now, but...) if you've made a varible for the following command right after the \, don't use it and revert to the original meaning of the command. so in the case of cd \Desktop as the original meaning is cd Desktop it still takes you there lol
normally slashes in linux go the other way like this / but if you do this when you open a terminal
cd /Desktop
you should get an error because the / means the root directory, (your desktop is at /home/USERNAME/Desktop and the terminal opens at /home/USERNAME) that's why you got that error when you ran the command as
tar zxpf /Desktop/vmwaretools.xxx.xxx.tar.gz
as you were already in your desktop directory you could have just run this -
tar zxpf vmwaretools.xxx.xxx.tar.gz
BTW for some reason when you type desktop you always have to use a capital letter. once you've used it for a bit you'll get used to it :o lol
aigle
August 20th, 2007, 02:41 PM
Thanks Iceni. I am very new to command line. Will have to learn.
iceni60
August 20th, 2007, 02:50 PM
{QUOTE-> Thanks Iceni. I am very new to command line. Will have to learn. <-QUOTE}
as long as you're not scared to use it you should learn how it works fairly quickly.
i saw a PDF with lots of really useful commands yesterday i should have posted the link, if i see it again i'll post it.
edit this is it, you can download/open it by clicking on it once you're on the page
http://fosswire.com/2007/08/02/unixlinux-command-cheat-sheet/
aigle
August 20th, 2007, 04:20 PM
Thanks, I got it.
lucas1985
August 20th, 2007, 04:31 PM
Bookmark this (http://www.dedoimedo.com/computers/linux_commands.html), this (http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true) and this (http://www.ss64.com/) :)
aigle
August 20th, 2007, 04:38 PM
Thanks Lucas! A lot of stuff! Will confine to Linux commands!:)
Longboard
August 20th, 2007, 08:07 PM
hello
I found this:
http://www.simplehelp.net/2007/05/24/how-to-install-pclinuxos-2007-using-vmware-fusion-in-osx-a-complete-walkthrough/
Although this is for Fusion in Mac, the sequence is the same I think ?
There are lots of other tutorials and the VM Ware instructions , btu can make this little brain spin a bit.
I have been "Install VMTools", the iso almost always appears on desktop
Then open, right click the .tar file>extract to desktop> get root>cd to the file then > ./vmware-tools.pl> hit all the defaults.....
( heh no konsole virtuoso me)
Is this OK?
Seems to work ok, but also seems occassionally to have issues with screen autofit and mouse getting stuffed up btwn the VM and Linux windows. :-\
After so long with M$ : back to kindy even with all the recent desktop improvements. lol
Mrkvonic
August 21st, 2007, 02:41 AM
Hello,
The best way to do it is to install it from the tarball.
Unpack the tarball, then run the vmware-tools.pl script and answer questions one by one - most likely just hit enter.
Now, there might be a need for some compilation, which will happen automatically, but you must have the following packages installed gcc make kernel-source.
After that, restart the windows manager.
Mrk
Longboard
August 21st, 2007, 04:43 AM
would you mind being a bit more specific{QUOTE-> you must have the following packages installed gcc make kernel-source. <-QUOTE}How can I find if this is already installed and how to install?
Thx.
Mrkvonic
August 21st, 2007, 06:39 AM
Hello,
Open the package manager.
In the search field, type each of these apart: gcc, make, kernel source.
You will get a list of installed and not-yet installed packages. If you have them already installed, you're good to go. If not, you won't be able to compile.
In K/Ubuntu, you can also solve the above problem by simply typing:
sudo apt-get install build-essential
Mrk
Longboard
August 21st, 2007, 12:14 PM
Ta
getting there slowly.
:thumb:
AND, I'll tell you good guys helping here I've been able to get more quicker directed help here than many of the forums.
Double Ta.
Mrkvonic
August 21st, 2007, 01:38 PM
Hello,
We're more focused here...
Mrk
zapjb
August 21st, 2007, 01:47 PM
Good info. Thnx.
vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.