Ubuntu & Debian
sudo apt install wget
Arch Linux
sudo pacman -S wget --needed
Fedora
sudo dnf install wget
If your system is 64 bit, enable 32 bit architecture (if you haven't already)
sudo dpkg --add-architecture i386
Download and add the repository key
sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Ubuntu 18.04/Linux Mint 19.x do not provide FAudio, which is a dependency of Wine versions prior to 6.21. Users of the current wine-stable packages will need to install this. Follow the instructions in https://forum.winehq.org/viewtopic.php?f=8&t=32192 to install FAudio from the OBS. (FAudio packages for Ubuntu 19.10 and later are in the distro's universe repository.)
Ubuntu 18.04 (Bionic Beaver), Linux Mint 19.x
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources
Ubuntu 20.04 (Focal Fossa), Linux Mint 20.x
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
Ubuntu 22.04 (Jammy Jellyfish), Linux Mint 21.x
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt update
sudo apt install --install-recommends winehq-staging
sudo apt install winetricks
If your system is 64 bit, enable 32 bit architecture (if you haven't already)
sudo dpkg --add-architecture i386
Download and add the repository key
sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
The WineHQ packages for Debian 10 and later require libfaudio0 as a dependency. Since the distro does not provide it for Debian 10, users of that version can download libfaudio0 packages from the OBS. See https://forum.winehq.org/viewtopic.php?f=8&t=32192 for details.
Debian 10 (Buster)
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/buster/winehq-buster.sources
Debian 11 (Bullseye)
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
Debian Testing (Bookworm)
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
sudo apt update
sudo apt install --install-recommends winehq-staging
sudo apt install winetricks
Go to /etc/pacman.conf with nano editor
sudo nano /etc/pacman.conf
Find the line starting with [multilib] and uncomment them, it must be seem like this
[multilib]
Include = /etc/pacman.d/mirrorlist
Save and exit.
sudo pacman -Sy
sudo pacman -S wine-staging
sudo pacman -S winetricks
Add the repository for Fedora 36
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/36/winehq.repo
Add the repository for Fedora 35
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/35/winehq.repo
sudo dnf install winehq-staging
sudo dnf install winetricks
winecfg
winetricks -q dxvk
Download Google Chrome using user agent switcher addon for your browser. You need to change user agent for be able to download Windows version of Google Chrome, otherwise they detect that you are using linux distribution and force to download Google Chrome's linux packages.
Go to where Google Chrome's exe downloaded, usually it'll be Downloads directory.
cd /path/to/exe
Run Google Chrome with wine and install.
wine ChromeSetup.exe
After installed, you have to start Chrome with --no-sandbox
parameter. You can add this parameter by editing Chrome's desktop file. There may be Chrome's desktop file on your Desktop, right click on it and edit with any text editor. In the Exec=
section, add --no-sandbox
to end of that line.
If there is not a Chrome shortcut file on your Desktop,
edit this ~/.local/share/applications/wine/Programs/Google\ Chrome.desktop
file with nano or any graphical text editor you want.
nano ~/.local/share/applications/wine/Programs/Google\ Chrome.desktop
or ( gedit usually installed on gnome desktop environment. if you don't use gedit, replace gedit
with your text editor.)
gedit ~/.local/share/applications/wine/Programs/Google\ Chrome.desktop
In the Exec=
section, add --no-sandbox
to end of that line.
Example Chrome desktop file
[Desktop Entry]
Name=Google Chrome
Exec=env WINEPREFIX="/home/nxjoseph/.wine" wine C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start\\ Menu\\\\Programs\\\\Google\\ Chrome.lnk --no-sandbox
Type=Application
StartupNotify=true
Comment=İnternet'e erişin
Path=/home/nxjoseph/.wine/dosdevices/c:/Program Files/Google/Chrome/Application
Icon=6F89_chrome.0
StartupWMClass=chrome.exe
Now you can run Chrome in two way
- Click Chrome on your Desktop
- Start Chrome on your application launcher.
If you only added
--no-sandbox
parameter to one of both, start Chrome which you added the parameter.
Open Google Chrome and go to chrome://components
address.
Scroll down, find Widevine component and update it.
After updated that component, restart Google Chrome and try again.