Ubuntu – How to install Cockatrice in Ubuntu

compilinggithubsoftware installation

I'm trying to install the latest client of Cockatrice in Ubuntu. I was told I had to do it from Github, and I'm trying to follow the instructions but I don't know how to download the Readme file or the other packages, also, I don't really understand what compiling is, I usually just install programs using a .deb file.

I hope you can help me.

Best Answer

First, clone the Github repository locally to download all the files to your own computer:

$ git clone https://github.com/Cockatrice/Cockatrice

You should then be able to view the README:

$ cd Cockatrice
$ less README.md  # or any other plain text file viewer

Install the dependencies like so:

$ sudo apt-get install libprotobuf-dev protobuf-compiler qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev qt5-default qttools5-dev-tools qttools5-dev qtmultimedia5-dev libqt5svg5-dev cmake

Then follow the instructions in the README for compiling:

$ mkdir build   # create directory where complied files will go
$ cd build      # go to that directory
$ cmake ..      # run cmake
$ make          # compile
$ make install  # install
Related Question