0

I have run the command yum install python-devel,and the output is :

yum install python-devel
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-devel.i686 0:2.6.4-25.fc13 set to be updated
--> Finished Dependency Resolution

but when I locate Python.h, it did not output anything Please share your solution,if you know the reason ,Thanks a lot

4

2 回答 2

1

安装包不会自动更新locatedb。你没有看到任何奇怪的东西。如果要手动更新locatedb,请运行updatedb

于 2013-07-24T07:25:07.730 回答
1

如果你跑

$ rpm -ql python-devel | grep -i python.h

你会得到

/usr/include/python2.6/Python.h
于 2013-07-24T07:22:17.180 回答