该教程仅供和我一样初级学者参考,只要严格按照步骤,绝对可以在fc6上成功安装vmware-tool。大概步骤分10步:
1.安装c编译器
2.安装kernel-devel
3.检查kernel跟kernel-devel的版本号
4.两个版本号不一致,进行升级
5.再次检查版本号,还不一致,需要重启。
6.重启后,版本号一致。
7.用ls命令查看匹配kernel的c编译器的header的路径
8.安装vmware-tool
9.选择屏幕分辨率。
10.还要修改xorg config设置
详细请看下面::
本教程绝对原创,转载请注明出处,谢谢,祝大家好运。
1.安装c编译器
[root@localhost ~]# yum install gcc
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 824 kB 00:23
################################################## 2242/2242
primary.xml.gz 100% |=========================| 318 kB 00:14
################################################## 1096/1096
primary.xml.gz 100% |=========================| 1.6 MB 00:47
################################################## 5001/5001
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for gcc to pack into transaction set.
gcc-4.1.1-30.i386.rpm 100% |=========================| 51 kB 00:05
---> Package gcc.i386 0:4.1.1-30 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Processing Dependency: libgomp.so.1 for package: gcc
--> Processing Dependency: libgomp = 4.1.1-30 for package: gcc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for glibc-devel to pack into transaction set.
glibc-devel-2.5-3.i386.rp 100% |=========================| 103 kB 00:04
---> Package glibc-devel.i386 0:2.5-3 set to be updated
---> Downloading header for libgomp to pack into transaction set.
libgomp-4.1.1-30.i386.rpm 100% |=========================| 42 kB 00:03
---> Package libgomp.i386 0:4.1.1-30 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-headers = 2.5-3 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for glibc-headers to pack into transaction set.
glibc-headers-2.5-3.i386. 100% |=========================| 136 kB 00:11
---> Package glibc-headers.i386 0:2.5-3 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
gcc i386 4.1.1-30 core 4.7 M
Installing for dependencies:
glibc-devel i386 2.5-3 core 2.0 M
glibc-headers i386 2.5-3 core 602 k
libgomp i386 4.1.1-30 core 62 k
Transaction Summary
=============================================================================
Install 4 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 7.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): gcc-4.1.1-30.i386. 100% |=========================| 4.7 MB 03:13
(2/4): glibc-headers-2.5- 100% |=========================| 602 kB 00:19
(3/4): glibc-devel-2.5-3. 100% |=========================| 2.0 MB 01:22
(4/4): libgomp-4.1.1-30.i 100% |=========================| 62 kB 00:02
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Importing GPG key 0x4F2A6FD2 "Fedora Project <>"
Is this ok [y/N]: y
Importing GPG key 0xDB42A60E "Red Hat, Inc <
security@redhat.com>"
Is this ok [y/N]: y
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: libgomp ######################### [1/4]
Installing: glibc-headers ######################### [2/4]
Installing: glibc-devel ######################### [3/4]
Installing: gcc ######################### [4/4]
Installed: gcc.i386 0:4.1.1-30
Dependency Installed: glibc-devel.i386 0:2.5-3 glibc-headers.i386 0:2.5-3 libgomp.i386 0:4.1.1-30
Complete!
[root@localhost ~]#
2.安装kernel-devel
[root@localhost ~]#
[root@localhost ~]# yum install kernel-devel
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel-devel to pack into transaction set.
kernel-devel-2.6.18-1.284 100% |=========================| 696 kB 03:38
---> Package kernel-devel.i686 0:2.6.18-1.2849.fc6 set to be installed
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kernel-devel i686 2.6.18-1.2849.fc6 updates 4.6 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 4.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): kernel-devel-2.6.1 100% |=========================| 4.6 MB 20:22
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: kernel-devel ######################### [1/1]
Installed: kernel-devel.i686 0:2.6.18-1.2849.fc6
Complete