Skip to content

Instantly share code, notes, and snippets.

@galou
Created January 14, 2020 19:34
Show Gist options
  • Save galou/1c4ee371648f31c7c88493ca7deecf59 to your computer and use it in GitHub Desktop.
Save galou/1c4ee371648f31c7c88493ca7deecf59 to your computer and use it in GitHub Desktop.
How-To install Adobe Digital Editions 4.5 on Ubuntu 18.04
#!/bin/sh
# Preliminary conditions:
# Ubuntu 18.04
# sudo apt install winbind playonlinux
# Add wine 4.21 32 bit to PlayOnLinux through the GUI.
# Download ADE_4.5_Installer.exe to /tmp.
WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/AdobeDigitalEditions45
WINEARCH=win32
WINE=$HOME/.PlayOnLinux/wine/linux-x86/4.21/bin/wine
INSTALLER=/tmp/ADE_4.5_Installer.exe
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
mkdir -p $WINEPREFIX
winecfg
winetricks -q dotnet40 corefonts
$WINE /tmp/ADE_4.5_Installer.exe
# You can then launch with:
$WINE "$HOME/.PlayOnLinux/wineprefix/AdobeDigitalEditions45/drive_c/Program Files/Adobe/Adobe Digital Editions 4.5/DigitalEditions.exe"
@leonkis
Copy link

leonkis commented Sep 17, 2020

Thank you so much for this! I'd just like to add, for my own benefit, that winetricks needs to be installed, i.e. sudo apt install winetricks, and a 32-bit installation at that. Also, if the program prompts you to install gecko, do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment