# Windows Media Player 10 doesn't support 64-bit
export WINEARCH=win32
# Use a separate Wine prefix to avoid messing up other Wine apps
export WINEPREFIX=~/.local/share/wineprefixes/overdrive
# Install Wine (Overdrive doesn't seem to work with the version of Wine that comes with Ubuntu 20.04)
# Check here first to see if the steps have changed: https://wiki.winehq.org/Ubuntu
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
rm winehq.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt update
sudo apt install --install-recommends winehq-stable
# Set up new Wine prefix
wineboot
# Install winetricks
sudo apt install winetricks
# Install Windows Media Player 10
winetricks wmp10
# Install OverDrive
wget https://static.od-cdn.com/ODMediaConsoleSetup.msi
wine msiexec /i ODMediaConsoleSetup.msi
rm ODMediaConsoleSetup.msiUse the application launcher (an entry should've been automatically created) or:
export WINEPREFIX=~/.local/share/wineprefixes/overdrive; wine $WINEPREFIX/drive_c/Program\ Files/OverDrive\ for\ Windows/MediaConsole.exeIf everything works but you get this error when trying to run OverDrive later, make sure you are properly setting the Wine prefix using export WINEPREFIX
Wait a few minutes and try again. You can leave the dialogue open and just click Yes again after waiting a few minutes.
Unable to acquire a license to play the selected title. Error 1003: The requested license is either invalid or already acquired.
If it's been a while since you downloaded the .odm file from the OverDrive website, I think the license in the file expires. Download a new one from the OverDrive website and try again.
Make sure you're opening a .odm file; if you have an .acsm file, you should open it with Adobe Digital Editions instead.