LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 10-19-2015, 08:08 AM   #1
LucyFur
LQ Newbie
 
Registered: May 2010
Posts: 16

Rep: Reputation: 2
Angry Guest Ubuntu 15.04 OS VMware tools. won't install. Host is Win10


I have installed Ubuntu 15.04 on A win 10) system using VMware 12. The only problem i have with this installation is trying to install VMware tools. I have Googled the problem and have used every conceivable command that is out there in Google land that supposedly tells you how to install this application and none work. not one.!!!!! in the terminal to try and get VMware tools to install. I have the folder extracted to the desktop but irrespective of what command i type in..... the stupid system tells me that there is no such command. this is crazy. I have installed every other type of OS system to my virtual Hard drive and not one stops at the tools installation. Why is Linux so goddam hard to use. Surely some one out there can come up with a better method of installing programs than the ridiculous methods that are presently the backbone of this crazy OS.

Every Linux magazine raves on how easy Ubuntu is to use and yet to install a simple application like VM tools..... You need to be a computer genius. Windows 10 drives like a Luxury sedan..... By comparison Ubuntu is like a Formula one racing car. Only a select few ever really get to drive or understand it. stop lauding this Linux OS as the greatest ever. I challenge anyone to do any thing in Ubuntu faster than What i can do it in Windows 10. I've wasted nearly 10 hours on this and have got nothing to show for it.
 
Old 10-19-2015, 09:36 AM   #2
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 388
Blog Entries: 9

Rep: Reputation: 88
haven't used VMware coz VirtualBox is preferred.
https://www.virtualbox.org/wiki/Downloads
just recently changed from version 4.3.x to version 5.0.x
and it still works well.

installing any O/S into it is quite simple - even win-10 works,
- once my N00B error was discovered.
PAE / NX support must be enabled. ..

Last edited by pierre2; 10-19-2015 at 09:38 AM.
 
1 members found this post helpful.
Old 10-19-2015, 08:13 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
You don't flat out need tools but it helps.

There are also many pre-made virtual appliances that have the OS and configured already if you wish.


Generally a virtual machine is a great way to test out an OS. I have no idea why people claim that linux is so easy or so secure or such. I never said that.

One of the issues that seems to come up is permissions maybe. But, see this post first maybe. http://kb.vmware.com/selfservice/mic...rnalId=1022525

That should give you all that you need. Be sure to put the added packaged on first. The instructions should have said that.


Some cases require you to add permissions to a user or re-run dkms.
 
1 members found this post helpful.
Old 10-21-2015, 03:29 AM   #4
LucyFur
LQ Newbie
 
Registered: May 2010
Posts: 16

Original Poster
Rep: Reputation: 2
gees this is so complicated. I have extracted the Vmtools tar.gz folder , but when i try to extract the files from the opened folder it tells me that i don't have the suitable permissions to do this. So as a newbie i would not have the skightest clue as to how to proceed from this point . To mount the CD image and extract the contents:
Power on the virtual machine.
Log in to the virtual machine using an account with administrator or root privileges.
Select:

For Fusion: Virtual Machine > Install VMware Tools.
For Workstation: VM > Install VMware Tools.
For Player: Player > Manage > Install VMware Tools.

Note: If you are running the light version of Fusion, a version of Workstation without VMware Tools, or VMware Player, you are prompted to download VMware Tools before they can be installed. Click Download Now to begin the download.

Open the VMware Tools CD mounted on the Ubuntu desktop.
Right-click the file name that is similar to VMwareTools.x.x.x-xxxx.tar.gz, click Extract to, and select Ubuntu Desktop to save the extracted contents.

The vmware-tools-distrib folder is extracted to the Ubuntu Desktop.
To install VMware Tools in Ubuntu:
Open a Terminal window. For more information, see Opening a command or shell prompt (1003892).
In the Terminal, run this command to navigate to the vmware-tools-distrib folder:

cd Desktop/vmware-tools-distrib

Run this command to install VMware Tools:

sudo ./vmware-install.pl -d I've tried all these commands and i get nothing that even remotely looks like any of this . None of these commands works.
 
Old 10-21-2015, 06:59 AM   #5
LucyFur
LQ Newbie
 
Registered: May 2010
Posts: 16

Original Poster
Rep: Reputation: 2
Is there anyone in the entire Linux world who can do a step by step! this is how you install VMware Tools to a guest Ubuntu OS 15.04 and show it here step by step and guarantee me that i will be able to install what should be a simple application to the OS but in reality is just a nightmare.
 
Old 10-21-2015, 08:25 AM   #6
strick1226
Member
 
Registered: Feb 2005
Distribution: Arch, CentOS, Fedora, macOS, SLES, Ubuntu
Posts: 327

Rep: Reputation: 63
What kind of errors are you getting after trying the "sudo ./vmware-install.pl -d" command?

You mentioned "VMware 12" ... is that Workstation 12, or Player 12?
You were able to get to the Terminal (command line) ok?
Are you prompted for your password after entering the installation command? (it should)
Does it fail to find the command? ("no such file or directory" etc.)

I've not tried installing Ubuntu 15.10 as a guest with VMware Workstation, so there's always a chance that version of VMware's tools implementation might not be compatible with the latest release of Ubuntu; sometimes an updated version of those proprietary tools will fix the issue.

I would just like to take a moment to stress that the issue you're running into right now is not a fair representation of how easy most modern linux distributions are to use. Were you to attempt to install this straight onto a computer, and not use virtualization, I'd hazard a guess you likely wouldn't have run into any problems. So don't give up yet...

strick
 
Old 10-21-2015, 09:24 AM   #7
LucyFur
LQ Newbie
 
Registered: May 2010
Posts: 16

Original Poster
Rep: Reputation: 2
dear strick1226. You are right. i dont get this problem when installing to a normal hard drive. But i want to operate Ubuntu in VMware workstation 12 on a win 10 OS. i GET THIS FAR I unpack the tar.gz file to a window that says Ubuntu Desktop. There is a folder called ' vmware-tools-distrib ' Inside are 8 folders > bin caf doc etc : installer : lib : vgauth : vmware-tools-distrib : and what appears to be a text document called FILES , THEN A GREEN PAGE WITH A THICK WHITE ARROW pointing down and underneath in capital letters is the word INSTALL : then two more files which appear to be text files and they are called : vmware-install.pl : & wmware-install.real.pl and that I take it is the contents of the distrib folder.

clicking on the green file INSTALL brings up a text instruction sheet telling me to go to a terminal and run the" vmware-install.pl " program from a command prompt, either in text mode or from a terminal inside an X session. and to be logged in as a super user or in root mode.using the command ./vmware-install.pl no matter which type of terminal i open be it user, root or an X terminal and type in this command I get told that there is " No such file or directory " Now that is pretty stupid because the ' vmware-tools-distrib ' folder is sitting right there in my Desktop and all the files are in there, so what is it?

if I click on the install files as shown in the Distrib folder , all i get are text log files or some sort of Instruction information . certainly no .exe files. I've googled " how to install VMware Tools and tried every instruction manual with all the various commands that tell you how to do this simple task and to no avail. nothing works !!!! So somewhere out there i hope is a genius who can tell me what am i doing wrong?
 
Old 10-21-2015, 10:58 AM   #8
strick1226
Member
 
Registered: Feb 2005
Distribution: Arch, CentOS, Fedora, macOS, SLES, Ubuntu
Posts: 327

Rep: Reputation: 63
OK, I think you just need to open a terminal window (CTRL + ALT + T should do the trick), and then:

NOTE: the parts in quotes are what you type--but leave out the quotes when typing these commands


1) type "cd Desktop" and then hit enter.
2) type "cd vmw" --at this point, hit the Tab key and, if you're in the right directory, the rest of the directory name should automatically populate i.e. it should extend to show the command "cd vmware-tools-distrib" --at which point hit enter again.
3) Having made it this far, now try to type "sudo ./vmware-i" and then hit tab again--again, it should populate the rest to show "sudo ./vmware-install.pl" so hit space once, then "-d" then hit enter.
4) You should be prompted for your password; type that and hit enter.
5) The VMware tools installer script should now start installing the various bits on your Ubuntu guest.

Provided you've copied the VMware Tools tar file to the Desktop directory located within the logged-in user's profile, and then extracted it within that same directory, the above should work. I would not advise trying to double-click on the installer in the graphical interface due to the needed access level to install a program.

Good luck!


strick
 
1 members found this post helpful.
Old 10-21-2015, 05:34 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
The link I posted was official how-to.
 
Old 10-21-2015, 10:41 PM   #10
LucyFur
LQ Newbie
 
Registered: May 2010
Posts: 16

Original Poster
Rep: Reputation: 2
Dear Strick, Thanks for the help mate I did exactly as instructed and everything went exactly as you had written. I typed in the final space-d and it requested my password and when I entered it I got the error message "sudo: ./vmware-install.: command not found. Hmmmmm this is weird so i tried something different I opened an X terminal and repeated what you had typed. same result. so then I redid it all again but this time I did not type in the .pl -d commands which were missing from the script and hit enter and it all started happening so I just hit enter to every default query that came up and now I have vmwareTools installed. So THANK YOU THANK YOU THANK YOU. YOU'RE A GENIUS.

I WILL NOW GO BACK TO THE VERY BEGINNING AND do a new install of this Virtual OS and see if I can repeat the whole process using your script and note any variations that occur and then I will post the solution here so if any one else needs help they will have a full install script to follow. But your script commands were the ones that got me right up to the final minor variation that got me there. The one thing that I don't understand about it all is why are all those commands needed. Why aren't they all in a neat install exe command like in windows.

No newbie would ever be able to do an install like that without expert guidance. Thanks heaps.

LucyFur
 
Old 10-22-2015, 09:54 AM   #11
strick1226
Member
 
Registered: Feb 2005
Distribution: Arch, CentOS, Fedora, macOS, SLES, Ubuntu
Posts: 327

Rep: Reputation: 63
The reason you have to run the installer script at a command line is because it requires elevated/root-level (think "Administrator" on Windows) access to make such changes to the entire system. (This is as opposed to something that might only expand within your userspace, not requiring that level of access)

99.9% of the time you will install software from your distribution's "package manager" or software management tools/frontend and, as those are all part of that official delivery system, installing software via that usual/native method is notably less troublesome. You'll still be prompted for your password if it's going to require elevated privileges to install, but you very, very rarely actually have to drop to the command line.

Since the VMware Tools software uses a script rather than a package compatible with your distribution's software management tools for its installation, the usual software delivery/installation method isn't applicable, and thus requires more manual work.

In any case... glad to hear it worked for you

Cheers


strick
 
1 members found this post helpful.
Old 10-24-2015, 08:40 AM   #12
LucyFur
LQ Newbie
 
Registered: May 2010
Posts: 16

Original Poster
Rep: Reputation: 2
Dear strick.

after all this drama, i read that Ubuntu15.10 has been released and surprise surprise! I downloaded and installed it....You won't believe this but VMware Tools is installed with the Ubuntu package and is there preinstalled as soon as you boot up in a Virtual VMware OS. so someone is listening and making things easier for us newbies.

LucyFur
 
Old 02-13-2017, 04:32 PM   #13
LucyFur
LQ Newbie
 
Registered: May 2010
Posts: 16

Original Poster
Rep: Reputation: 2
Smile Install VMWare Tools for Ubuntu 16.10

Dear strick,
I installed Ubuntu V16.10 using the above set of commands and VMWare Tools installed. thank you for your help once again.

LucyFur
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install Samba on VMWare running Ubuntu 10.10 as guest OS & XP as host pawan613 Linux - Virtualization and Cloud 3 11-29-2011 06:47 AM
VMWare Tools copy/paste between host and guest issues taylorkh Linux - Virtualization and Cloud 2 08-11-2011 05:21 PM
VMware snapshot with VMware tools loses network on restart (Host XP, Guest Fedora) John Fletcher Linux - General 12 10-18-2010 12:28 PM
Install vmware tools on Ubuntu 7.10 guest problem optimizer Ubuntu 7 02-25-2008 03:25 AM
Problems with vmware tools in Suse 9.3 as a guest and Win2k as host crapodino SUSE / openSUSE 2 08-27-2005 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration