NVIDIA GPU Terminal installation:
sudo add-apt-repository ppa:graphics-drivers/ppa sudo dpkg --add-architecture i386 sudo apt update
sudo apt install nvidia-driver-440 libnvidia-gl-440 libnvidia-gl-440:i386 sudo apt install libvulkan1 libvulkan1:i386
Reboot to apply settings.
to both the
files found at
will enable Esync.
Reboot to apply.
How to Install Wine 5.0 in Ubuntu:
The official wine apt repository has made the packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.
To get out of WINE DEPENDENCY HELL:I’ve successfully installed Wine 5.0 in Ubuntu 19.10 via following steps without any dependency issue.
Ubuntu 18.04 however run into unmet dependencies issue even after purging graphics drivers PPA, kisak-mesa PPA, etc. And
sudo aptitude install wine-stablecommand output hundreds of package conflicts with no workaround.
THANKS to lutris, I’ve finally got out of the Wine Dependency hell in Ubuntu 18.04 by running command:
sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386
Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from application menu. When it opens, run following commands one by one.
1.) Run command to enable 32 bit architecture:
sudo dpkg --add-architecture i386
Type user password (no asterisk feedback) when it prompts and hit Enter to continue.
2.) Download and install the repository key via command:
wget -nc https://dl.winehq.org/wine-builds/winehq.key; sudo apt-key add winehq.key
3.) Add wine repository via command (for Ubuntu 19.10):
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'
NOTE: You may replace eoan in the code with:
- bionic for Ubuntu 18.04 and Linux Mint 19.x
- xenial for Ubuntu 16.04 and Linux Mint 18.x
4.) Add PPA for the required
For Ubuntu 18.04, Linux Mint 19.x, and Ubuntu 19.04 only, as higher Ubuntu releases already have libfaudio0 in the main repositories.
sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport
5.) Finally install Wine 5.0 stable via command:
sudo apt update && sudo apt install --install-recommends winehq-stable
(Optional) After successfully installed Wine 5.0, you may remove the PPAs by launching Software & Updates utility and navigating to Other Software tab.
apt install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386
sudo add-apt-repository ppa:lutris-team/lutris sudo apt update sudo apt install lutris
INSTALL STEAM AND ENABLE PROTON FOR ALL GAMES
sudo apt install steam
Once installed, sign in and navigate to Steam / Settings / Steam Play, tick the ‘Enable Steam Play for all other titles’ and click OK once done.
sudo apt install meson libsystemd-dev pkg-config ninja-build git libdbus-1-dev libinih-dev git clone https://github.com/FeralInteractive/gamemode.git cd gamemode git checkout 1.5.1 ./bootstrap.sh
Reboot to apply.
INSTALL NVIDIA DRIVER
Click Menu and go to Administration > Driver Manager
Select nvidia-driver-xxx, the recommended one, and click Apply Changes.
and click Install Steam
Open the .deb file and install it.
In Steam Settings under Steam Play, check Enable Steam Play for all other titles.
Go to the Lutris website and follow the three step directions for Linux Mint. It even includes automatic updates through your system’s Update Manager!
Go to the WineHQ website and follow the directions for Linux Mint 19.x: https://wiki.winehq.org/Ubuntu
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo dpkg --add-architecture i386
Download and add the repository key:
wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key
Add the repository:
|For this version:||Use this command:|
sudo apt-add-repository 'deb
|Ubuntu 18.04Linux Mint 19.x||sudo apt-add-repository ’deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main’|
|Ubuntu 16.04Linux Mint 18.x||sudo apt-add-repository ’deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main’|
sudo apt update
Then install one of the following packages:
sudo apt install --install-recommends winehq-stable
sudo apt install --install-recommends winehq-devel
sudo apt install --install-recommends winehq-staging
If apt complains about missing dependencies, install them, then repeat the last two steps (update and install). See the FAQ entry on dependency errors for tips on troubleshooting dependency issues.
If you have previously used the distro packages, you will notice some differences in the WineHQ ones:
- Files are installed to /opt/wine-devel, opt/wine-stable, or /opt/wine-staging (depending on which version you installed).
- Menu items are not created for Wine’s builtin programs (winecfg, etc.), and if you are upgrading from a distro package that had added them, they will be removed. You can recreate them yourself using your menu editor.
- Binfmt_misc registration is not added. Consult your distro’s documentation for update-binfmts if you wish to do this manually.
- WineHQ does not at present package wine-gecko or wine-mono. When creating a new wine prefix, you will be asked if you want to download those components. For best compatibility, it is recommended to click Yes here. If the download doesn’t work for you, please follow the instructions on the Gecko and Mono wiki pages to install them manually.
Installing without Internet
To install Wine on an Ubuntu machine without internet access, you must have access to a second Ubuntu machine (or VM) with an internet connection to download the Wine .deb package and its dependencies.
The procedure goes like this: On the machine with internet, add the WineHQ PPA, then cache just the necessary packages without actually extracting them:
sudo add-apt-repository ppa:wine/wine-builds sudo apt-get update
Then cache just the packages necessary for installing wine, without extracting them:
sudo apt-get clean sudo apt-get --download-only install winehq-devel sudo apt-get --download-only dist-upgrade
Copy all of the .deb files in /var/cache/apt/archives to a USB stick:
cp -R /var/cache/apt/archives/ /media/usb-drive/deb-pkgs/
Finally, on the machine without internet, install all of the packages from the flash drive:
cd /media/usb-drive/deb-pkgs sudo dpkg -i *.deb
The same instructions can also be used for an offline installation of the
Ubuntu’s implementation of Multiarch is still incomplete, so for now you can’t simply install 32-bit and 64-bit libraries alongside each other. If you’re on a 64-bit system, you’ll have to create an isolated environment for installing and building with 32-bit dependencies. See Building Biarch Wine On Ubuntu for detailed instructions for Ubuntu using LXC, and Building Wine for general information.