Skip to content

Instantly share code, notes, and snippets.

@stagfoo
Forked from skwerlman/install-cockatrice.sh
Created April 23, 2017 08:33
Show Gist options
  • Save stagfoo/1b941d359e21ec600c68590b5d4d18bb to your computer and use it in GitHub Desktop.
Save stagfoo/1b941d359e21ec600c68590b5d4d18bb to your computer and use it in GitHub Desktop.
install cockatrice bleeding-edge on xubuntu
#!/usr/bin/env bash
sudo true || (echo "fatal: Root is needed to perform an upgrade!" & kill $$)
sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get -y install git libprotobuf-dev protobuf-compiler qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev qt5-default qttools5-dev-tools qttools5-dev qtmultimedia5-dev libqt5svg5-dev cmake
cd ~
git clone git://github.com/Daenyth/Cockatrice
cd Cockatrice
mkdir build
cd build
cmake ..
make
sudo make install
#!/usr/bin/env bash
sudo true || (echo "fatal: Root is needed to perform an upgrade!" & kill $$)
sudo apt-get update
sudo apt-get -y upgrade git libprotobuf-dev protobuf-compiler qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev qt5-default qttools5-dev-tools qttools5-dev qtmultimedia5-dev libqt5svg5-dev cmake
cd ~/Cockatrice
git pull
mkdir build &>/dev/null
cd build
cmake ..
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment