Answers.Body: <p>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.</p>
  
  <pre><code>sudo apt-get install scid
  sudo apt-get install stockfish
  </code></pre>
  
  <p>Load Scid
  In Scid Click:</p>
  
  <pre><code>Tools -&gt; Analysis Engine (click twice) -&gt; 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
  </code></pre>
  
  <p>Hopefully this is straightforward enough that anybody could replicate it.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-22T01:04:13.470Z
Answers.Text: This installs an old copy of Stockfish.
Answers.UserDisplayName: SmallChess
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-28T21:29:14.390Z
Answers.Text: Is studo a typo for sudo?
Answers.UserDisplayName: Caridorc
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-24T13:36:13.750Z
Answers.Text: Full path to `stockfish` executable is not required tested as of scid 4.7.4, just `stockfish` works.
Answers.UserDisplayName: Ciro Santilli OurBigBook.com
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-22T00:41:12.733Z
Answers.LastActivityDate: 2017-12-17T15:22:59.870Z
Answers.LastEditDate: 2017-12-17T15:22:59.870Z
Answers.UserDisplayName: The Nightman
Answers.Body: <p>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.</p>
  
  <p>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</p>
  
  <p>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)</p>
  
  <p>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:
  <a href="http://scidvspc.sourceforge.net/" rel="noreferrer">http://scidvspc.sourceforge.net/</a>
  <a href="http://www.playwitharena.com/" rel="noreferrer">http://www.playwitharena.com/</a></p>
  
  <p>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.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-02T15:09:55.883Z
Answers.Text: Stockfish is on Ubuntu repositories and SCID is also available. SCIDvsPC isn't
Answers.UserDisplayName: sharcashmo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-12-23T19:59:41.263Z
Answers.LastActivityDate: 2013-12-23T19:59:41.263Z
Answers.UserDisplayName: Emilio Díaz
Answers.Body: <p>I would recommend that you download the engine from <a href="https://stockfishchess.org/" rel="noreferrer">https://stockfishchess.org/</a>.</p>
  
  <p>Unzip the zip file and go into the src folder.</p>
  
  <pre><code>unzip stockfish-7-linux.zip
  cd stockfish-7-linux/src
  </code></pre>
  
  <p>Call the make script i.e.</p>
  
  <pre><code>make build ARCH=x86-64
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-01T15:08:10.540Z
Answers.LastActivityDate: 2016-06-01T15:08:10.540Z
Answers.UserDisplayName: Marcel Zebrowski
Answers.Body: <p>Don't use apt-get because it doesn't give the latest Stockfish version. Do this:</p>
  
  <pre><code>wget https://stockfishchess.org/files/stockfish-10-linux.zip
  unzip stockfish-10-linux.zip
  chmod +x stockfish-10-linux/Linux/stockfish_10_x64
  ./stockfish-10-linux/Linux/stockfish_10_x64
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-22T10:14:02.683Z
Answers.Text: Is this accurate? `apt show stockfish` returns `Version: 8-3` on my machine (Ubuntu 17.04, so not even the latest Ubuntu).
Answers.UserDisplayName: Federico Poloni
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-25T02:57:44.167Z
Answers.Text: Worked on Ubuntu 18.04.
Answers.UserDisplayName: Foreever
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-06-30T18:09:18.157Z
Answers.Text: This is the right answer as of 2023 because the `apt install stockfish` will not install the latest.
Answers.UserDisplayName: AsemRadhwi
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2017-12-17T15:29:31.207Z
Answers.LastActivityDate: 2019-01-25T03:07:04.263Z
Answers.LastEditDate: 2019-01-25T03:07:04.263Z
Answers.UserDisplayName: SmallChess
Answers.Body: <p>I suggest you simply use this command in your Terminal: </p>
  
  <blockquote>
    <p>sudo apt-get install stockfish</p>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-08T16:19:16.307Z
Answers.LastActivityDate: 2015-06-08T16:19:16.307Z
Answers.UserDisplayName: Krishna Janaswamy
Answers.Body: <p>The package is referenced at <a href="http://packages.debian.org/sid/i386/stockfish/download" rel="nofollow">http://packages.debian.org/sid/i386/stockfish/download</a> which can be installed with aptitude or synaptic. </p>
  
  <p>Try this <a href="http://ubuntuforums.org/showthread.php?t=1531296" rel="nofollow">Link</a> for more info</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-27T19:55:19.360Z
Answers.Text: Needs to be update though: https://launchpad.net/ubuntu/+source/stockfish/+bugs
Answers.UserDisplayName: Lonnie Best
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-12-22T14:05:22.850Z
Answers.LastActivityDate: 2013-12-22T14:05:22.850Z
Answers.UserDisplayName: ezaspi
Body: <p>Is there an easy guide how to install <a href="http://stockfishchess.org/">stockfish</a> on ubuntu?</p>
  
  <p>From the main site I can not find any information and <a href="https://github.com/mcostalba/Stockfish">github repository</a> does not provide many details.</p>
  
  <p>I would really appreciate if someone who already installed and started to run it would share the steps.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-25T02:58:57.270Z
Comments.Text: https://chess.stackexchange.com/a/19444/18370 is the best answer so far
Comments.UserDisplayName: Foreever
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-02-25T10:29:36.537Z
Comments.Text: `chs` is a convenient CLI UI for Stockfish: https://github.com/nickzuber/chs for it. Related for CLI UIs: https://chess.stackexchange.com/questions/1600/chess-program-for-linux-unix-console GNOME Chess is a more user friendly GUI UI: https://github.com/flathub/org.gnome.Chess/issues/13
Comments.UserDisplayName: Ciro Santilli OurBigBook.com
Tags: <engines><stockfish>
Title: How to install stockfish on ubuntu?
ThreadText: # How to install stockfish on ubuntu?
  
  (Asked by: username_0 on 2013-12-22)
  
  Is there an easy guide how to install [stockfish](http://stockfishchess.org/) on ubuntu?
  
  From the main site I can not find any information and [github repository](https://github.com/mcostalba/Stockfish) does not provide many details.
  
  I would really appreciate if someone who already installed and started to run it would share the steps.
  
  **Tags:** engines, stockfish
  
  > **Comments:**
  > **username_1**: https://chess.stackexchange.com/a/19444/18370 is the best answer so far  
  > **username_2**: `chs` is a convenient CLI UI for Stockfish: https://github.com/nickzuber/chs for it. Related for CLI UIs: https://chess.stackexchange.com/questions/1600/chess-program-for-linux-unix-console GNOME Chess is a more user friendly GUI UI: https://github.com/flathub/org.gnome.Chess/issues/13  
  
  ---
  
  ## 6 answers
  
  ### Answer by username_3 on 2015-10-22. Score: 30
  
  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.
  
  > **Comments:**
  > **username_4**: This installs an old copy of Stockfish.  
  > **username_5**: Is studo a typo for sudo?  
  > **username_2**: Full path to `stockfish` executable is not required tested as of scid 4.7.4, just `stockfish` works.  
  
  ---
  
  ### Answer by username_6 on 2013-12-23. Score: 7
  
  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.
  
  > **Comments:**
  > **username_7**: Stockfish is on Ubuntu repositories and SCID is also available. SCIDvsPC isn't  
  
  ---
  
  ### Answer by username_8 on 2016-06-01. Score: 5
  
  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
  
  
  ---
  
  ### Answer by username_4 on 2017-12-17. Score: 5
  
  Don't use apt-get because it doesn't give the latest Stockfish version. Do this:
  wget https://stockfishchess.org/files/stockfish-10-linux.zip
  unzip stockfish-10-linux.zip
  chmod +x stockfish-10-linux/Linux/stockfish_10_x64
  ./stockfish-10-linux/Linux/stockfish_10_x64
  
  > **Comments:**
  > **username_9**: Is this accurate? `apt show stockfish` returns `Version: 8-3` on my machine (Ubuntu 17.04, so not even the latest Ubuntu).  
  > **username_1**: Worked on Ubuntu 18.04.  
  > **username_10**: This is the right answer as of 2023 because the `apt install stockfish` will not install the latest.  
  
  ---
  
  ### Answer by username_11 on 2015-06-08. Score: 4
  
  I suggest you simply use this command in your Terminal:
  
  > sudo apt-get install stockfish
  
  
  ---
  
  ### Answer by username_12 on 2013-12-22. Score: 3
  
  The package is referenced at <http://packages.debian.org/sid/i386/stockfish/download> which can be installed with aptitude or synaptic.
  
  Try this [Link](http://ubuntuforums.org/showthread.php?t=1531296) for more info
  
  > **Comments:**
  > **username_13**: Needs to be update though: https://launchpad.net/ubuntu/+source/stockfish/+bugs  
  
  ---
  
  