Installing VMware Tools on Debian 6 (squeeze)
2013-06-10 10:25
393 查看
转自:http://blog.mwpreston.net/2011/10/12/installing-vmware-tools-on-debian-6-squeeze/
Installing VMware Tools on Debian 6 (squeeze)
October 12, 2011I was in the process of spinning up a few Debian 6 squeeze servers today when I ran into a little bit of trouble installing VMware tools inside the guest. These were bare bone installs, containing basically just the system utilities from the tasksel menu (no
desktop gui environment). I proceeded to install VMware tools the way I normally do and have for previous versions of Debian. Right-Click VM -> Guest -> Install/Update VMware Tools when I ran into the following error during the install.
![](https://oscdn.geek-share.com/Uploads/Images/Content/201306/19ee8da10ec97107cd8000a045c86367.jpg)
'The path "/usr/bin/gcc" is not valid path to the gcc binary.
It was at this point I when and pulled down the build-essential package, thinking maybe gcc wasn't installed, and I knew that I would need 'make' as well.
After an apt-get install build-essential I received the same error when trying to re-install. The path /usr/bin/gcc was certain valid, and it most certainly pointed to the the gcc package. Basically, what I found out is that when you do the base install with
Debian 6 Squeeze (through a net-install image) you do not receive the header files for the kernel you are running. These files are actually needed for VMware tools to recompile and configure itself for the version you are running. So, an easy fix…
apt-get install linux-headers-$(uname -r)
After running this command, and then re installing your VMware tools again you should see the following during your installation process.
![](https://oscdn.geek-share.com/Uploads/Images/Content/201306/698393ddad18bf39d641184c94ae0a6a.jpg)
"Detected GCC binary at "/usr/bin/gcc-4.3".
Just accept the default here to not change the path, complete the rest of the VMware tools install and bobs your uncle.
Post
to Facebook
Post
to Twitter
Add
to LinkedIn
Post
to Delicious
1
1
1
1
1
1
1
1
1
Post
to StumbleUpon
Send
via E-mail program
You might also enjoy these recent posts...
VMware View on the $99 HPTouchpad Last month, being the quintessential geek that I am, I spent the greater part of one of my weekends installing...
Installing
Ubuntu on your 99 dollar HP Touchpad About a month ago I was lucky enough to score one of those $99.00 touchpads. I seen the explosion on...
Installing
and Configuring the VMware vCenter Appliance Well, I've finally got around to getting my 'lab' setup inside of VMware Workstation and I thought the first thing...
Installing offline bundles
in ESXi 5 So I ran into a situation where I needed to get the HP CIM providers onto ESXi 5 in order...
Dell
Storage missing from VMware Health Status We have probably all been there at one point while messing around with ESXi and certain types of hardware. You...
Filed Under: Uncategorized Tagged
With: Debian, ESXi, Linux, VMware, VMware
Tools
13 comments
![](http://mediacdn.disqus.com/1370641519/images/noavatar92.png)
Leave a message...
Attach
SIGN IN WITH
Disqus
OR REGISTER WITH DISQUS
Best
Community
Share
![](http://mediacdn.disqus.com/uploads/users/2916/2724/avatar92.jpg?1345479452)
Hsiao-Ting Wang • 10
months ago
−
Thanks. You really make my days. :)
1
•
Reply
•
Share ›
![](http://www.gravatar.com/avatar.php?default=http%3A%2F%2Fmediacdn.disqus.com%2F1370629430%2Fimages%2Fnoavatar92.png&size=92&gravatar_id=775e1b0214132bc3b1f412b5852d31e3)
No • a
year ago
Didn't work... I still get the same error message.
1 1
•
Reply
•
Share ›
![](http://www.gravatar.com/avatar.php?default=http%3A%2F%2Fmediacdn.disqus.com%2F1370629430%2Fimages%2Fnoavatar92.png&size=92&gravatar_id=b8989fe18587a59708de97138348f820)
ras No • 11
months ago
Try this
aptitude -y install libglib2.0-0 build-essential linux-headers-$(uname -r)
2
•
Reply
•
Share ›
![](http://mediacdn.disqus.com/uploads/users/1726/5414/avatar92.jpg?1366169112)
DTHI Demitrios • 4
months ago
Thanks for the info, i was doing it the hard way (installing the individual requirements), but your way is quicker, as it includes everything in 1 go.
•
Reply
•
Share ›
![](http://www.gravatar.com/avatar.php?default=http%3A%2F%2Fmediacdn.disqus.com%2F1370629430%2Fimages%2Fnoavatar92.png&size=92&gravatar_id=6f9dd67f0a389b8f4f8819749c54a0fb)
Olivier • 7
months ago
As of today with default options, you also need to install the package "libglib2.0-dev", otherwise you will get the same error.
•
Reply
•
Share ›
![](http://mediacdn.disqus.com/uploads/users/1972/3066/avatar92.jpg?1366660245)
mwpreston Mod Olivier • 7
months ago
thanks so much...I'll have to update the post :)
•
Reply
•
Share ›
![](http://www.gravatar.com/avatar.php?default=http%3A%2F%2Fmediacdn.disqus.com%2F1370629430%2Fimages%2Fnoavatar92.png&size=92&gravatar_id=2880c7e843d19bc5e0c9318a43d5a41a)
Calhemp • 11
months ago
thanks, it worked to me
•
Reply
•
Share ›
![](http://mediacdn.disqus.com/uploads/users/1972/3066/avatar92.jpg?1366660245)
mwpreston Mod Calhemp • 11
months ago
good stuff!
•
Reply
•
Share ›
![](http://www.gravatar.com/avatar.php?default=http%3A%2F%2Fmediacdn.disqus.com%2F1370629430%2Fimages%2Fnoavatar92.png&size=92&gravatar_id=48251d75c9356e05b35e4ab1928c7f0e)
Some Random Guy • 11
months ago
You are a gentleman and a scholar
•
Reply
•
Share ›
![](http://mediacdn.disqus.com/uploads/users/1972/3066/avatar92.jpg?1366660245)
mwpreston Mod Some
Random Guy • 11
months ago
haha, thanks!
•
Reply
•
Share ›
![](http://www.gravatar.com/avatar.php?default=http%3A%2F%2Fmediacdn.disqus.com%2F1370629430%2Fimages%2Fnoavatar92.png&size=92&gravatar_id=33dc6d4ee458d2f649cf23f135b9d919)
G7ivp • a
year ago
Brilliant. Worked a treat and saved what hair I've got left - been searching for a solution for days! Thank you.
•
Reply
•
Share ›
![](http://mediacdn.disqus.com/uploads/users/1972/3066/avatar92.jpg?1366660245)
mwpreston Mod G7ivp • a
year ago
No problem, glad it's working for most people
•
Reply
•
Share ›
![](http://www.gravatar.com/avatar.php?default=http%3A%2F%2Fmediacdn.disqus.com%2F1370629430%2Fimages%2Fnoavatar92.png&size=92&gravatar_id=b0c1bcd88d970ec0e41207444d2de9a1)
Fred Wilson • a
year ago
Thanks for this! You're a lifesaver!
•
Reply
•
Share ›
相关文章推荐
- Installing VMWare Tools on Ubuntu 11.04 (Tracks)
- Installing VMware tools on Centos 6.8 via yum
- Installing VMware Tools on Kali Linux and Some Debugging Basics
- Debian/Linux装上VMware-tools
- CentOS 7 Debian 8 安装VMware-tools
- Vmware Tools is currently being installed on your system
- 虚拟机Debian7.7-amd64-standard安装VMware-tools
- 转载_Debian中安装VMware-tools
- vmware debian tools gcc
- Installing VMware Tools in Fedora Core 6
- problem installing JDK on debian-----Debian下软件安装注意事项
- Installing VMware Tools in a Linux Virtual Machine(VMware Tools的安装步骤)
- Installing OwnCloud 9 on Debian 8
- problem installing JDK on debian
- 关于Vmware Tools is currently being installed on your system
- 安装vmware-tools出现"what is the location of the "ifconfig"program on your machine?"
- Debian安装VMware-tools
- Install VMware Tools on Ubuntu
- 安装VMware tools on linux
- Set up a LAMP Server on Debian 6 (Squeeze)