How to Install Cockatrice on Ubuntu 13.10 (Saucy)

Recently, I’ve been playing Magic the Gathering after having last played it in 1998. I heard about this program called ‘cockatrice’ to test my decks, but couldn’t compile it on my Xubuntu 13.10 desktop. Finally I found out I could do it with the ‘clang’ compiler.

Here’s how to compile and install it:

Simply open a terminal (Ctrl + Alt + T) and copy a execute each command:

If you need the cards list or Windows/Mac binaries, go to Woogerworks.

12 thoughts on “How to Install Cockatrice on Ubuntu 13.10 (Saucy)”

  1. ok i installed ubuntu 13.10 and i would like to install cockatrice (i played everyday when i had windows 7). I tried installing under wine but cant make the cards to work (they dont show properly, even if i downloaded them from woogerworks). Something is wrong in the path to cards folder. Tried to fix the path from cockatrice settings but the program crashes over and over. I never tried to compile or do anything like that before (im brand new to ubuntu and linux) but if u help me i will give it a try. thanks

    1. I’ll update the post tonight. Hopefully it will be more non-programmer friendly. 😉

  2. Hi, cd Cockatrice , dont work for me. File dont exist… What am doing wrong ?? Sorry for my bad English

    1. Woogerworks changed the structure of the zip archive. I’ve updated the post. All should work fine now.

  3. Thank you very much guy, 😀 I Adore you… Its all works.. I build you a 30 feet high statue in my country… 😀

    1. zachary@zachary-LT40:~/Cockatrice/build$ cmake ..
      — The CXX compiler identification is Clang 3.2.0
      — Check for working CXX compiler: /usr/bin/clang++
      — Check for working CXX compiler: /usr/bin/clang++ — broken
      CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message):
      The C++ compiler “/usr/bin/clang++” is not able to compile a simple test

      It fails with the following output:

      Change Dir: /home/zachary/Cockatrice/build/CMakeFiles/CMakeTmp

      Run Build Command:/usr/bin/make “cmTryCompileExec4023683057/fast”

      /usr/bin/make -f CMakeFiles/cmTryCompileExec4023683057.dir/build.make

      make[1]: Entering directory

      /usr/bin/cmake -E cmake_progress_report
      /home/zachary/Cockatrice/build/CMakeFiles/CMakeTmp/CMakeFiles 1

      Building CXX object

      /usr/bin/clang++ -o
      CMakeFiles/cmTryCompileExec4023683057.dir/testCXXCompiler.cxx.o -c

      Linking CXX executable cmTryCompileExec4023683057

      /usr/bin/cmake -E cmake_link_script
      CMakeFiles/cmTryCompileExec4023683057.dir/link.txt --verbose=1

      CMakeFiles/cmTryCompileExec4023683057.dir/testCXXCompiler.cxx.o -o
      cmTryCompileExec4023683057 -rdynamic

      /usr/bin/ld: cannot find -lstdc++

      clang: error: linker command failed with exit code 1 (use -v to see

      make[1]: *** [cmTryCompileExec4023683057] Error 1

      make[1]: Leaving directory

      make: *** [cmTryCompileExec4023683057/fast] Error 2

      CMake will not be able to correctly generate this project.
      Call Stack (most recent call first):

      — Configuring incomplete, errors occurred!
      zachary@zachary-LT40:~/Cockatrice/build$ make

  4. Hello Im trying to install using new .zip file from Woogerworks.
    I think im ok until this line:

    export CXX=”/usr/bin/clang++”

    After that, when i try: cmake ..

    Terminal says that there is no CMakeLists……. I really dont understand – this is really hard for me. Im a noob Ubuntu user but wanna play Magic and learn. Can you help me?

Leave a Reply

Your email address will not be published. Required fields are marked *