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
|
|
|
|
2019-02-15 04:57:30 +00:00
|
|
|
Lutris should work on any up to date Linux system. It is based on Python and
|
2020-04-23 22:02:44 +00:00
|
|
|
Gtk but will run on any desktop environment.
|
|
|
|
If you installed Lutris from our PPA or some other repository, it should already
|
|
|
|
come with all of its essential dependencies. However, if you need to install
|
|
|
|
Lutris manually, it requires the following components:
|
2011-03-09 13:52:31 +00:00
|
|
|
|
2022-07-07 13:43:05 +00:00
|
|
|
* Python >= 3.7
|
2019-02-15 04:54:32 +00:00
|
|
|
* PyGObject
|
2022-12-02 21:51:18 +00:00
|
|
|
* PyGObject bindings for: Gtk, Gdk, GnomeDesktop, Webkit2, Notify
|
2019-02-15 04:54:32 +00:00
|
|
|
* python3-requests
|
|
|
|
* python3-pillow
|
|
|
|
* python3-yaml
|
2019-12-27 17:16:43 +00:00
|
|
|
* python3-setproctitle
|
2020-01-06 08:52:12 +00:00
|
|
|
* python3-distro
|
2019-02-15 04:54:32 +00:00
|
|
|
* python3-evdev (optional, for controller detection)
|
|
|
|
|
|
|
|
These dependencies are only for running the Lutris client. To install and run
|
|
|
|
games themselves we recommend you install the following packages:
|
|
|
|
|
|
|
|
* psmisc (or the package providing 'fuser')
|
2020-10-04 00:07:49 +00:00
|
|
|
* p7zip (or the package providing '7z')
|
2019-02-15 04:54:32 +00:00
|
|
|
* curl
|
|
|
|
* fluid-soundfont-gs (or other soundfonts for MIDI support)
|
|
|
|
* cabextract (if needed, to install Windows games)
|
|
|
|
* x11-xserver-utils (or the package providing 'xrandr', if you are running
|
|
|
|
Xorg, if you are not, you will depend on the GnomeDesktop bindings to fetch
|
|
|
|
screen resolutions on Wayland, the GnomeDesktop library is not directly
|
|
|
|
related to the Gnome desktop and is only used as a xrandr replacement.)
|
|
|
|
* libc6-i386 and lib32gcc1 for 32bit games support
|
2020-04-23 22:02:44 +00:00
|
|
|
* The 32bit OpenGL and Vulkan drivers for your graphics card
|
|
|
|
* Wine (not actually needed, but installing it is the easiest way to get all
|
|
|
|
the libraries missing from our runtime).
|
2019-02-15 04:54:32 +00:00
|
|
|
|
2020-04-23 22:02:44 +00:00
|
|
|
To install all those dependencies (except for Wine and graphics drivers)
|
|
|
|
on Ubuntu based systems, you can run::
|
2019-02-15 04:54:32 +00:00
|
|
|
|
2019-04-01 06:31:40 +00:00
|
|
|
sudo apt install python3-yaml python3-requests python3-pil python3-gi \
|
2022-12-02 21:51:03 +00:00
|
|
|
gir1.2-gtk-3.0 gir1.2-gnomedesktop-3.0 gir1.2-webkit2-4.0 \
|
2022-12-02 21:51:18 +00:00
|
|
|
gir1.2-notify-0.7 psmisc cabextract unzip p7zip curl fluid-soundfont-gs \
|
2019-12-27 17:16:43 +00:00
|
|
|
x11-xserver-utils python3-evdev libc6-i386 lib32gcc1 libgirepository1.0-dev \
|
2020-01-06 08:52:12 +00:00
|
|
|
python3-setproctitle python3-distro
|
2012-11-08 20:46:59 +00:00
|
|
|
|
2019-10-09 13:46:55 +00:00
|
|
|
Note :
|
|
|
|
If you use OpenSUSE, some dependencies are missing. You need to install python3-gobject-Gdk and typelib-1_0-Gtk-3_0
|
|
|
|
|
|
|
|
``sudo apt install python3-gobject-Gdk typelib-1_0-Gtk-3_0``
|
|
|
|
|
2012-11-08 20:46:59 +00:00
|
|
|
Installation
|
|
|
|
------------
|
2011-03-09 13:52:31 +00:00
|
|
|
|
2020-04-23 22:02:44 +00:00
|
|
|
To install Lutris, please follow instructions listed on our `Downloads Page <https://lutris.net/downloads/>`_.
|
|
|
|
Getting Lutris from a PPA or a repository is the preferred way of installing
|
|
|
|
it and we *strongly advise* to use this method if you can.
|
2017-05-14 17:56:01 +00:00
|
|
|
|
2020-04-23 22:02:44 +00:00
|
|
|
However, if the instructions on our Downloads page don't apply to your Linux
|
|
|
|
distribution or there's some other reason you can't get it from a package,
|
|
|
|
you can run it directly from the source directory::
|
2016-01-24 01:03:28 +00:00
|
|
|
|
2019-02-15 04:54:32 +00:00
|
|
|
git clone https://github.com/lutris/lutris
|
|
|
|
cd lutris
|
2016-01-24 01:03:28 +00:00
|
|
|
./bin/lutris
|
2020-06-18 13:21:27 +00:00
|
|
|
|
2020-04-23 22:02:44 +00:00
|
|
|
Alternatively you can install Lutris manually with the help of **virtualenv**.
|
|
|
|
|
2020-06-18 13:21:27 +00:00
|
|
|
First, install ``python-virtualenv`` from your distribution's
|
2020-04-23 22:02:44 +00:00
|
|
|
repositories, along with dependencies listed in Requirements_.
|
|
|
|
Then, create and activate virtual environment for Lutris::
|
|
|
|
|
|
|
|
virtualenv --system-site-packages ~/lutris
|
|
|
|
source ~/lutris/bin/activate
|
|
|
|
|
|
|
|
While in the virtual environment, run the installation script::
|
|
|
|
|
|
|
|
python3 setup.py install
|
2016-01-24 01:03:28 +00:00
|
|
|
|
2012-11-08 20:46:59 +00:00
|
|
|
Run Lutris
|
|
|
|
-----------
|
2011-03-09 13:52:31 +00:00
|
|
|
|
2020-04-23 22:02:44 +00:00
|
|
|
If you installed Lutris using a package, you can launch the program by typing
|
|
|
|
``lutris`` at the command line (same applies to virtualenv method, but you need to
|
|
|
|
activate the virtual environment first). And if you want to run Lutris without
|
|
|
|
installing it, start ``./bin/lutris`` from within the source directory.
|