这里有一种Linux中的超级菜鸟。如何在CentOS上下载扑克eval?
默认页面是这样的:https://packages.qa.debian.org/p/poker-eval.html让我很困惑。
我也通过谷歌找到了这个:https://copr.fedorainfracloud.org/coprs/nibbler/poker-eval/,但我很困惑如何使用这个Copr的东西。
编辑:我尝试使用以下内容下载:
rpm -ivh poker-eval-134.0-1.fc6.i386.rpm
rpm -ivh poker-eval-debuginfo-134.0-1.fc6.i386.rpm
rpm -ivh poker-eval-devel-134.0-1.fc6.i386.rpm
但我无法弄清楚正在运行的脚本在哪里。这是我使用find / -name "*poker*"
找到的文件
/usr/include/poker-eval
/usr/include/poker-eval/poker_defs.h
/usr/include/poker-eval/poker_config.h
/usr/include/poker-eval/poker_wrapper.h
/usr/include/poker-eval/pokereval_export.h
/usr/lib/debug/usr/lib/libpoker-eval.so.1.0.0.debug
/usr/lib/libpoker-eval.so
/usr/lib/pkgconfig/poker-eval.pc
/usr/lib/libpoker-eval.so.1.0.0
/usr/lib/libpoker-eval.so.1
/usr/src/debug/poker-eval-134.0
/usr/src/debug/poker-eval-134.0/include/poker_defs.h
/usr/src/debug/poker-eval-134.0/lib/poker_wrapper.c
/usr/share/doc/poker-eval-134.0
/usr/share/doc/poker-eval-devel-134.0
看起来官方项目页面实际上是在http://gna.org/projects/pokersource/
您列出的第一页是debian下游项目页面。你列出的第二页似乎是一个非官方的python绑定版本,用于在CentOS上进行poker-eval。
您可以尝试通过这些RPM安装:
http://download.gna.org/pokersource/poker-eval/gnulinux/fedora/f10/src/redhat/RPMS.poker-eval/
请注意,poker-eval只是一个用于不同应用程序的库。有关更多信息,请参阅上面提到的http://pokersource.sourceforge.net或/usr/share/doc/poker-eval-134.0的内容。
或者您可以自己构建源代码:
wget http://download.gna.org/pokersource/poker-eval/gnulinux/fedora/f10/src/redhat/SOURCES/poker-eval-134.0.tar.gz
tar -axvf poker-eval-134.0.tar.gz
cd poker-eval-134.0
./configure && make && sudo make install