Skip to content

Guide about how to watch Prime Video in HD quality on GNU/Linux

Notifications You must be signed in to change notification settings

enesizgi/primevideo-linux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 

Repository files navigation

Watch Prime Video HD in GNU/Linux

Requirements

Install wget

Ubuntu & Debian

sudo apt install wget

Arch Linux

sudo pacman -S wget --needed

Fedora

sudo dnf install wget

Installing instructions wine-staging and winetricks for distributions

Installing instructions for Ubuntu

Go top

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 mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

Add wine's repository for your Ubuntu version

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

Ubuntu 22.10 (Kinetic Kudu)

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/kinetic/winehq-kinetic.sources

Update packages

sudo apt update

Install wine-staging

sudo apt install --install-recommends winehq-staging

Install winetricks

sudo apt install winetricks

Installing instructions for Debian

Go top

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 mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

Download the WineHQ sources file

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 11 (Bullseye)

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources

Debian Testing (Bookworm)

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources

Update packages

sudo apt update

Install wine-staging

sudo apt install --install-recommends winehq-staging

Install winetricks

sudo apt install winetricks

Installing instructions for Arch Linux

Go top

Enable multilib repository from /etc/pacman.conf

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.

Update packages

sudo pacman -Sy

Install wine-staging

sudo pacman -S wine-staging

Install winetricks

sudo pacman -S winetricks

Installing instructions for Fedora

Go top

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

Install wine-staging

sudo dnf install winehq-staging

Install winetricks

sudo dnf install winetricks

Before installing Google Chrome

Open winecfg and make sure your Windows version is "Windows 7" then exit

winecfg

Install dxvk

winetricks -q dxvk

Installing Google Chrome

Latest Google Chrome version (v106) is not working. It gives an STATUS_BREAKPOINT error. Current workaround for that issue is downloading older version of Google Chrome.

I tested Google Chrome v104 and it is working. You can download v104 (x64) from here.

For more versions, visit slimjet

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 ChromeStandaloneSetup64.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.

Enjoy the HD quality!

Troubleshooting

If primevideo says you are using older versions of Chrome, try updating your Widevine component.

Open Google Chrome and go to chrome:https://components address. Scroll down, find Widevine component and update it.

image from components

After updated that component, restart Google Chrome and try again.

About

Guide about how to watch Prime Video in HD quality on GNU/Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published