0

Can anyone explain me the procedure for installing the Arasan Chess Engine from this link: https://www.arasanchess.org/downld.shtml and using it to run with Eboard.

It would be nice if there is a step by step answer.

After extracting the .tar.gz file, when i give the make command it doesn't seem to run. Not sure, how to make the chess engine.

C.S.
  • 329

1 Answers1

1

this is the procedure that I have followed just now and I think it is working. First download arasan from the website. You can download the binary or source. In this case I downloaded the binary. Next put the downloaded file in a convenient location, extract it. After that, install xboard:

$ sudo apt install xboard

After that, open a terminal and run this command:

$ xboard -cp -fcp "PATH-TO-EXTRACTED-FOLDER/arasanx-64 -H 100M -c 2"

Here, replace the PATH-TO-EXTRACTED-FOLDER with the location where you have extracted the compressed file. For example, I keep these stuffs in ~/Applications folder, so on my machine it looks like this: xboard -cp -fcp "/home/u33how/Appications/arasan-linux-binaries-21.4/arasanx-64 -H 100M -c 2" . Make the required modification. Finally, play the game. Reference: github repo doc link

  • Any idea how to use the engine with eboard? What do you mean by binary or source. I mean i downloaded the tar.gz file – C.S. Dec 03 '19 at 10:49
  • Open the link in your question, you will see several options. For linux, there are 2 options: 1. Linux/Mac source(tarball) or 2. Linux chess engine binaries + book . I downloaded the second one. Rignt now I don't know how to use it with eboard. I hope this was helpfull – Qazi Fahim Farhan Dec 03 '19 at 10:53
  • Yeah sure this was useful +1. This is the error which i am getting Gtk-Message: 16:25:42.876: Failed to load module "overlay-scrollbar" Gtk-Message: 16:25:42.883: Failed to load module "canberra-gtk-module" – C.S. Dec 03 '19 at 10:56
  • Error when trying to run with eboard. Note i downloaded the tar.gz file – C.S. Dec 03 '19 at 10:57
  • Best guess, you are missing the 32 bit libraries. Try running this: ``` $

    sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

    
    
    – Qazi Fahim Farhan Dec 03 '19 at 11:02
  • Emm. Those 2 errors have vanished. Now it's saying localhost permission denied – C.S. Dec 03 '19 at 11:07
  • Sorry, without details I really cannot tell how to solve this. Best guess, you have to change a permission somewhere. Or maybe some other process is using the same localhost and port. If you can tell me what you did exactly, I might be able to help. – Qazi Fahim Farhan Dec 03 '19 at 11:11
  • Sure. Downloaded arasan source from the website. Then extracted the .tar.gz file. Then ran the command in the terminal as you gave xboard ..... That's all i did – C.S. Dec 03 '19 at 11:18
  • Not sure if this will work. Try this: go to the extracted folder, open your terminal, and run this: $ chmod +x arasanx-64 This command makes the target file executable. Good luck. – Qazi Fahim Farhan Dec 03 '19 at 11:23
  • emm its says no such file – C.S. Dec 03 '19 at 11:36
  • It's because wrong directory.I think you have extracted the source code, but I was working with the binary (download link: http://www.arasanchess.org/arasan-linux-binaries-21.4.tar.gz ) Sorry for the miss communication. In case of source code, you have to install it properly. I am not expert with source, so I really cannot help much, so I used the binary. Please download the binary and try again. – Qazi Fahim Farhan Dec 03 '19 at 11:45
  • Yes i already told you that i extracted the tar.gz file. Let me try with the binary – C.S. Dec 03 '19 at 11:48
  • um... the other one is also a tar.gz file – Qazi Fahim Farhan Dec 03 '19 at 11:49
  • No issues, i said i downloaded the source :P Please the 8th comment :0 – C.S. Dec 03 '19 at 11:50
  • 1
    Working. Thanks a ton. – C.S. Dec 03 '19 at 11:53
  • Also how do i add arasan as an engine in xboard? Because each time going to terminal and typing this command would be tough. If i add arasan as an engine then i can play black set the time limit etc etc without any difficulty. Any ideas? – C.S. Dec 03 '19 at 11:55
  • Sorry, I don't know right now. – Qazi Fahim Farhan Dec 03 '19 at 11:57
  • Thank you for the kind help – C.S. Dec 03 '19 at 11:58