ubuntu 14.04安装vmware-tools注意的问题
2015-03-30 11:43
435 查看
1)vmware-tools的安装需要在root权限下,非root权限容易导致安装失败。
2)在使用终端安装vmware-tools时,一般采取将其镜像文件放在桌面并解压,不停地回车(默认安装)直到安装成功或者出现下面这几行字,提示输入合法的内核头文件。
Before you can compile modules, you need tohave the following installed...
make
gcc
kernel header of the running kernel
searching for GCC
Detected GCC binary at "usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
would you like to change it? [no]
Searching for a valid kernel header path
The path " " is not a valid path to linux-headers-3.16.0-30-generic.
Would you like to change it? [yes]
Enter the path to the kernel header files for the 3.16.0-30-generic kernel?
参考网址安装linux-headers-3.16.0-30-generic:
http://www.cnblogs.com/SelaSelah/archive/2013/02/17/2914412.html
在终端中执行以下指令安装linux-headers-3.16.0-30-generic。
1 sudo apt-get update
2 sudo apt-get install build-essential
3 sudo apt-get install linux-headers-$(uname -r)
更新后即发现/usr/src/下有linux-headers-3.16.0-30-generic目录,然后重新安装。
./vmware-install.pl
3)若重新安装,仍提示该错误,则是由于Ubuntu内核版本的头文件的位置发生了变化,增加软连接即可:
$ sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h
然后重新安装即可。
4)安装成功后,需重启系统以使安装生效。(注:有些ubuntu系统安装完毕后立马生效,无需重启)
2)在使用终端安装vmware-tools时,一般采取将其镜像文件放在桌面并解压,不停地回车(默认安装)直到安装成功或者出现下面这几行字,提示输入合法的内核头文件。
Before you can compile modules, you need tohave the following installed...
make
gcc
kernel header of the running kernel
searching for GCC
Detected GCC binary at "usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
would you like to change it? [no]
Searching for a valid kernel header path
The path " " is not a valid path to linux-headers-3.16.0-30-generic.
Would you like to change it? [yes]
Enter the path to the kernel header files for the 3.16.0-30-generic kernel?
参考网址安装linux-headers-3.16.0-30-generic:
http://www.cnblogs.com/SelaSelah/archive/2013/02/17/2914412.html
在终端中执行以下指令安装linux-headers-3.16.0-30-generic。
1 sudo apt-get update
2 sudo apt-get install build-essential
3 sudo apt-get install linux-headers-$(uname -r)
更新后即发现/usr/src/下有linux-headers-3.16.0-30-generic目录,然后重新安装。
./vmware-install.pl
3)若重新安装,仍提示该错误,则是由于Ubuntu内核版本的头文件的位置发生了变化,增加软连接即可:
$ sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h
然后重新安装即可。
4)安装成功后,需重启系统以使安装生效。(注:有些ubuntu系统安装完毕后立马生效,无需重启)
相关文章推荐
- Ubuntu 14.04安装搜狗拼音linux版应该注意的问题
- Ubuntu 14.04 中安装 VMware10 Tools工具
- Ubuntu中设置共享文件夹,遇到问题总结(包括VMware-tools安装,更新源更改,共享工具的安装)
- 解决在ubuntu 12.10安装vmware-tools实现文件共享问题
- ubuntu 14.04安装vmware-tools
- VMware安装Ubuntu17.04的VMware-tools提示:what is the location of the "ifconfig" program on your machin问题解决
- 解决在ubuntu 12.10安装vmware-tools实现文件共享问题
- Ubuntu14.04 下安装Vmware-Tools
- ubuntu10.10 下面安装vmware-tools 解决需要指定 c header file 的问题
- VMware tools for linux 安装注意事项及常见问题解决!
- 解决Vmware安装Ubuntu14.04无中文支持的问题
- Ubuntu 14.04安装搜狗拼音linux版应该注意的问题
- 新手安装vmware-tools要注意的问题
- 12、ubuntu安装vmware-tools无法挂载问题
- VMware Workstation 8 虚拟机 ubuntu16.04下安装 VMware-tools问题
- Ubuntu14.04安装VMware-tools
- Ubuntu 14.04安装搜狗拼音linux版应该注意的问题
- 安装vmware-tools后,Ubuntu还是无法正常显示分辨率的问题
- Ubuntu 14.04 中安装 VMware10 Tools工具
- [亲测] 解决在 ubuntu14.04 安装完 vmware 后,启动出现下列问题的解决方案