Preamble
Lutris is a refreshing newcomer to the Linux Gaming World, in that unlike the now defunct PlayOnLinux, Lutris aims to not only provide a GUI-Front End for managing Wineprefixes and Games installed via Wine, but also to be a one-stop GUI Shop for managing all forms of Gaming on Linux. Via the use of their runners, you can create a centralised game library which contains all your games from native, to Wine, to Retro Emulators, and even to Browser Based Games.
It takes some getting used to, if you were an avid user of PlayOnLinux, but once you get over that short learning curve, it becomes a very useful piece of software.
Installing Lutris - Arch Linux (Arch Based Distributions)
In order to install Lutris on Arch Linux we'll need to install the package from the AUR (Arch User Repository). This is a User maintained repository containing thousands of additional packages which can be installed on Arch Linux based distributions.
There are two ways to achieve this:
- Using an AUR Helper tool from the terminal
- Downloading the PKGBUILD file from the AUR website and building the software using makepkg.
Prerequisites
The base-devel group of packages are required to build software from the AUR. Make sure this group is installed by typing:
sudo pacman -S base-devel --needed
Into the terminal, before proceeding, and any missing packages from that group will be installed. It should already be installed, as part of the standard Arch install procedure, but there is no harm in checking.
Install Lutris using AUR Helper (pacaur)
First things first, if pacaur is not already installed, install it by opening the terminal and typing in:
sudo pacman -S pacaur
Once installed, you can use pacaur to install Lutris from the AUR by typing:
pacaur -S lutris
Install Lutris using AUR PKGBUILD file
From the terminal, change the current directory to the Downloads folder (or another location if you prefer, this is just an example):
cd ~/Downloads
Then obtain the tar ball for Lutris from the AUR website and extract it.
curl -L -O https://aur.archlinux.org/cgit/aur.git/snapshot/lutris.tar.gz && tar xvzf lutris.tar.gz
Change to the newly created folder "lutris" containing the extracted files:
cd ./lutris
Lastly, run makepkg as a normal user (not using sudo) to build and install the Lutris software package:
makepkg -si
Installing Lutris - Ubuntu Linux (Ubuntu Based Distributions)
Adding the Lutris Repository
For a distribution which claims to be the go-to-distro for Linux newcomers, Canonical seems determined to make it as hard as possible to install Lutris on their platform.
It's not available in the default repositories, as it is with Solus, and unlike Arch, with involved just installing the package from the AUR, Ubuntu requires a lot more typing into the terminal to add the right repository for Lutris, so much so, that you are better off copy-pasting, though I usually advise against doing that.
Paste the following into the terminal:
ver=$(lsb_release -sr); if [ $ver != "18.04" -a $ver != "17.10" -a $ver != "17.04" -a $ver != "16.04" ]; then ver=18.04; fi
This created the variable "ver" and populates it with the version of Ubuntu you are currently running.
echo "deb http://download.opensuse.org/repositories/home:/strycore/xUbuntu_$ver/ ./" | sudo tee /etc/apt/sources.list.d/lutris.list
This writes the section within the quotation marks, filling in the value of $ver to the file /etc/apt/sources.list.d/lutris.list
wget -q http://download.opensuse.org/repositories/home:/strycore/xUbuntu_$ver/Release.key -O- | sudo apt-key add -
Lastly, this retrieves the Release.key for the Lutris repository and adds it to the Package Manager keyring. This is so you can verify packages you install from the repository are genuine.
Install Lutris
Once the repository has been successfully added, all that's left is a quick refresh of the package lists using:
sudo apt update
And then one final command to install the Lutris package.
sudo apt install lutris
Enjoy!
Installing Lutris - Solus Linux
Installing Lutris on Solus is straightforward, as the Distro Maintainers have been kind enough to add it to the default repositories.
A quick:
sudo eopkg install lutris
Is all that is required to install the software, if you are using Solus.
Sort: Top
[–] thisistotallynotme 0 points 1 point 1 point (+1|-0) ago (edited ago)
In Gentoo/Calculate/CloverOS/Sabayon, all you have to do is "emerge lutris", because it's already in portage.