如何在CentOS上安装poker-eval

问题描述 投票:1回答:1

这里有一种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
linux unix centos debian
1个回答
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 - 用于应用程序的共享库二进制文件
  • poker-eval-debuginfo - 用于gdb的共享库二进制文件调试符号
  • poker-eval-devel - 用于针对库编译代码以在应用程序中使用的头文件

请注意,poker-eval只是一个用于不同应用程序的库。有关更多信息,请参阅上面提到的http://pokersource.sourceforge.net或/usr/share/doc/poker-eval-134.0的内容。

或者您可以自己构建源代码:

  1. 下载相应的源存档: wget http://download.gna.org/pokersource/poker-eval/gnulinux/fedora/f10/src/redhat/SOURCES/poker-eval-134.0.tar.gz
  2. 提取存档: tar -axvf poker-eval-134.0.tar.gz
  3. 进入提取的档案: cd poker-eval-134.0
  4. 构建二进制文件 ./configure && make && sudo make install
© www.soinside.com 2019 - 2024. All rights reserved.