-
Notifications
You must be signed in to change notification settings - Fork 23
Install from source
Guidelines for the installation of TriFusion from source across operating systems. In case you do not have pip
installed, instruction on how to install it are also provided.
-
Add one of the following PPAs:
- Stable release:
sudo add-apt-repository ppa:o-diogosilva/trifusion
- Daily release:
sudo add-apt-repository ppa:o-diogosilva/trifusion-daily
- Stable release:
-
Update your package list:
sudo apt-get update
-
Install TriFusion:
sudo apt-get install trifusion
Install pip
, kivy
, trifusion
and the SDL dependencies:
sudo apt-get install python-pip build-essential python-dev libsdl2-dev
pip install cython==0.23
pip install kivy
pip install trifusion
-
Add one of the following PPAs manually to the sources.list:
Stable release:
http://ppa.launchpad.net/o-diogosilva/trifusion/ubuntu trusty main
Daily release:
http://ppa.launchpad.net/o-diogosilva/trifusion/ubuntu trusty main
-
Add the GPG key to your apt keyring:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D4F1E8E6
-
Refresh your package list and install TriFusion
sudo apt-get update && sudo apt-get install trifusion
Install pip
, kivy
, trifusion
and the SDL dependencies:
sudo apt-get install python-pip build-essential python-dev libsdl2-dev
pip install cython==0.23
pip install kivy
pip install trifusion
Install pip
, kivy
, trifusion
and the SDL dependencies:
dnf install python-pip python-devel redhat-rpm-config freeglut-devel SDL*
pip install cython==0.23
pip install kivy
pip install trifusion
There are three AUR packages for TriFusion:
TriFusion - The latest version of TriFusion, based on source code.
TriFusion-bin - The latest version of TriFusion. Installs a large binary package, but does not require dependencies to be installed, as all the necessary libs are bundled with the distributed binary.
TriFusion-git - The bleeding edge version directly from git. Requires dependencies to be installed, as it is also source code based.
Just use any AUR helper to handle the packages for you, or download the PKGBUILD you require and use makepkg
. Also, Kudos. You are a person of taste 😃.
If you do not have homebrew yet, you'll need to install it:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install SDL dependencies, kivy and trifusion
brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer
pip install -I Cython==0.23
USE_OSX_FRAMEWORKS=0 pip install kivy
pip install trifusion
Assuming you have installed Anaconda (which automatically installs most of the dependencies), you will need to install kivy by executing the following commands on a command line prompt:
python -m pip install --upgrade pip wheel setuptools
python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
python -m pip install kivy.deps.gstreamer --extra-index-url https://kivy.org/downloads/packages/simple/
python -m pip install kivy
python -m pip install trifusion