Is there an easy guide how to install stockfish on ubuntu?

From the main site I can not find any information and github repository does not provide many details.

I would really appreciate if someone who already installed and started to run it would share the steps.

share|improve this question

Just for completeness, I would like to add more explicit instructions for using stockfish in Scid, because sometimes it is a little confusing how to get stockfish to function in an actual chess program.

sudo apt-get install scid
sudo apt-get install stockfish

Load Scid In Scid Click:

Tools -> Analysis Engine (click twice) -> New
    Set Name to ‘stockfish’
    Command is /usr/games/stockfish (use ‘which stockfish’ if not)
    Directory : Click the ~/.scid button
    Hit OK and select the stockfish engine

Hopefully this is straightforward enough that anybody could replicate it.

share|improve this answer
    
This installs an old copy of Stockfish. – SmallChess Oct 22 '15 at 1:04
    
Is studo a typo for sudo? – Caridorc Jun 28 '16 at 21:29
    
@Caridorc yup, thanks. – The Nightman Jun 28 '16 at 21:30

As probably you already know Stockfish is "only" a chess engine. It means it's "only" the part of the program that makes the thinking, and it has no interface at all.

I haven't used Ubuntu for a while, but AFAIK Stockfish is available on its repositories, so you should be able to install it just by: $ sudo apt-get install stockfish

If for whatever reason you need/want to install Stockfish from the sources, once you've downloaded the code from the github repo, you just need a C++ compiler (v.g. g++) and from the "src" folder enter the command: $ make build ARCH=x86-64 (This is for 64-bit systems) $ make build ARCH=x86-32 (This is for 32-bit systems)

In order to be able to play against Stockfis you need a chess GUI, for example Arena (only windows version, so you need wine in order to make it work) and ScidVsPC are vey popular: http://scidvspc.sourceforge.net/ http://www.playwitharena.com/

Once you've installed a GUI and the Stockfish engine, you just have to add the Stockfish engine to the GUI in order to be able to play against it.

share|improve this answer
    
Stockfish is on Ubuntu repositories and SCID is also available. SCIDvsPC isn't – sharcashmo Jun 2 '16 at 15:09

The package is referenced at http://packages.debian.org/sid/i386/stockfish/download which can be installed with aptitude or synaptic.

Try this Link for more info

share|improve this answer
    
Needs to be update though: launchpad.net/ubuntu/+source/stockfish/+bugs – Lonnie Best Aug 27 '14 at 19:55

I suggest you simply use this command in your Terminal:

sudo apt-get install stockfish

share|improve this answer

I would recommend that you download the engine from https://stockfishchess.org/.

Unzip the zip file and go into the src folder.

unzip stockfish-7-linux.zip
cd stockfish-7-linux/src

Call the make script i.e.

make build ARCH=x86-64
share|improve this answer

Don't use apt-get because it doesn't give the latest Stockfish version. Do this:

wget https://stockfish.s3.amazonaws.com/stockfish-8-linux.zip
unzip stockfish-8-linux.zip
./stockfish-8-linux/Linux/stockfish_8_x64
share|improve this answer
    
Is this accurate? apt show stockfish returns Version: 8-3 on my machine (Ubuntu 17.04, so not even the latest Ubuntu). – Federico Poloni Dec 22 '17 at 10:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.