2011-03-09 13:52:31 +00:00
|
|
|
Installing Lutris
|
|
|
|
=================
|
2010-01-22 18:38:20 +00:00
|
|
|
|
2012-11-08 20:46:59 +00:00
|
|
|
Requirements
|
|
|
|
------------
|
2011-03-09 13:52:31 +00:00
|
|
|
|
2014-10-30 15:36:08 +00:00
|
|
|
Lutris should work on any Gnome system, the following depencies should be
|
2014-10-05 18:07:46 +00:00
|
|
|
installed:
|
2011-03-09 13:52:31 +00:00
|
|
|
|
2016-11-29 21:25:50 +00:00
|
|
|
* python > 3.4
|
2011-03-09 13:52:31 +00:00
|
|
|
* python-yaml
|
2012-11-08 20:46:59 +00:00
|
|
|
* PyGobject
|
2013-12-27 16:04:38 +00:00
|
|
|
* libsoup-gnome
|
2012-11-08 20:46:59 +00:00
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
2011-03-09 13:52:31 +00:00
|
|
|
|
2012-11-08 20:46:59 +00:00
|
|
|
Lutris uses Python's distutils framework for installation. In order to
|
|
|
|
install Lutris, you will need root access. To install Lutris, perform
|
2016-01-24 01:03:28 +00:00
|
|
|
the following command as root::
|
2011-03-09 13:52:31 +00:00
|
|
|
|
|
|
|
$ python setup.py install
|
|
|
|
|
2016-04-10 15:51:01 +00:00
|
|
|
**Warning:** there is no way to cleanly uninstall programs installed with
|
|
|
|
setup.py other than manuall deleting the created files. Prefer installing
|
|
|
|
Lutris through distribution packages or run it directly from the source
|
2016-11-29 21:25:50 +00:00
|
|
|
directory::
|
2016-01-24 01:03:28 +00:00
|
|
|
|
|
|
|
cd /path/to/lutris/source
|
|
|
|
./bin/lutris
|
|
|
|
|
2012-11-08 20:46:59 +00:00
|
|
|
Run Lutris
|
|
|
|
-----------
|
2011-03-09 13:52:31 +00:00
|
|
|
|
2012-11-08 20:46:59 +00:00
|
|
|
If you installed Lutris using the setup.py script, you can launch the
|
|
|
|
program by typing "lutris" at the command line. If you want to run
|
|
|
|
Lutris without installing it, start "bin/lutris" from within the
|
|
|
|
Lutris directory.
|
2014-10-30 15:36:08 +00:00
|
|
|
|
|
|
|
Packaging
|
|
|
|
---------
|
|
|
|
|
|
|
|
On Fedora:
|
|
|
|
These instructions should let you build a Lutris on a minimal Fedora
|
|
|
|
system such as a LXC container.
|
|
|
|
|
|
|
|
Install required packaging tools::
|
|
|
|
|
|
|
|
yum install @development-tools
|
|
|
|
yum install fedora-packager
|
2014-10-30 15:57:42 +00:00
|
|
|
yum install python-devel
|
2014-10-30 15:36:08 +00:00
|
|
|
|
|
|
|
Create a user to build the package with::
|
|
|
|
|
|
|
|
useradd makerpm
|
|
|
|
usermod -a -G mock makerpm
|
|
|
|
passwd makerpm
|
|
|
|
|
|
|
|
Log out of the root account and login as the makerpm user then create the
|
|
|
|
required directory structure::
|
|
|
|
|
|
|
|
rpmdev-setuptree
|
2014-10-30 15:57:42 +00:00
|
|
|
|
|
|
|
You can now fetch the lutris sources either from a local drive or
|
|
|
|
remotely::
|
|
|
|
|
|
|
|
cd ~/rpmbuild/SOURCES
|
2015-11-18 19:33:27 +00:00
|
|
|
curl -O https://lutris.net/releases/lutris_0.3.7.tar.gz
|
2014-10-30 15:57:42 +00:00
|
|
|
|
|
|
|
Extract the specs file from the archive::
|
|
|
|
|
|
|
|
cd ../SPECS/
|
2015-11-18 19:33:27 +00:00
|
|
|
tar xvzf ../SOURCES/lutris_0.3.7.tar.gz lutris/lutris.spec
|
2014-10-30 15:57:42 +00:00
|
|
|
mv lutris/lutris.spec .
|
|
|
|
rmdir lutris
|
|
|
|
|
|
|
|
You can now build the RPM::
|
|
|
|
|
|
|
|
rpmbuild -ba lutris.spec
|
|
|
|
|
|
|
|
The resulting package will be available at
|
2015-12-30 03:06:48 +00:00
|
|
|
~/rpmbuild/RPMS/noarch/lutris-0.3.7-3.fc20.noarch.rpm
|