lutris/INSTALL.rst

83 lines
1.9 KiB
ReStructuredText
Raw Normal View History

Installing Lutris
=================
2010-01-22 18:38:20 +00:00
Requirements
------------
Lutris should work on any Gnome system, the following depencies should be
2014-10-05 18:07:46 +00:00
installed:
2016-11-29 21:25:50 +00:00
* python > 3.4
* python-yaml
* PyGobject
2013-12-27 16:04:38 +00:00
* libsoup-gnome
Installation
------------
Lutris uses Python's distutils framework for installation. In order to
install Lutris, you will need root access. To install Lutris, perform
the following command as root::
$ python setup.py install
**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::
cd /path/to/lutris/source
./bin/lutris
Run Lutris
-----------
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.
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
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