The other answers no longer work (or did for me). Unfortunately getting it to work is convoluted and will use +5GB of space.
However, this is what I did to get it working. I hope I included all the steps. It installs ADE 2.0.1
Note: wine1.7 and the version in repo for winetricks failed for installing dotdeb (required for ADE 2.0.1) so I installed the latest winetricks and wine
- Winetricks repo - winetricks
- I used
whereis winetricks to find it and moved the downloaded winetricks to that location (for example
- Wine2.0 - guide
- Remove your current version of wine prior to installing the new version
sudo add-apt-repository ppa:ricotz/unstable
sudo apt-get update && sudo apt install wine-stable
Installing ADE 2.0.1
I used this guide (partially replicated here)
Files to download
WINEPREFIX=~/.adewine WINEARCH=win32 wineboot
winetricks -q windowscodecs && winetricks -q corefonts
wine ~/Downloads/dotnetfx35setup.exe # Will take awhile
At this point, you should open ADE and login to authorize it to allow calibre to gain your key later on.
WINEPREFIX=$HOME/.adewine/ wine ~/.adewine/drive_c/Program\ Files/Adobe/Adobe\ Digital\ Editions\ 2.0/DigitalEditions.exe
Install Python and Pycrypto for Calibre
The script for removing drm with calibre recommends python2.7 but python2.6 seems to work.
For me, there was a bug where wine cannot find python.exe and has a error of
wine: cannot find L"C:\\windows\\system32\\python.exe"
I worked around that by linking it.
cd ~/.adewine/drive_c/windows/system32 && ln -s ../../Python26/python.exe ./; cd -
Install calibre and drm plugin
Configure DRM Plugin
- In plugins (from before) search for
Customize plugin ->
Adobe Digital Editions ebooks
- In WINEPREFIX put in
/home/YOURUSERNAME/.adewine # Replace YOURUSERNAME with your username :)
- Select the Green Plus sign and give the key a name
Download a book to ADE by opening the .ascm file (or dragging into it).
You can open ADE by running
WINEPREFIX=$HOME/.adewine/ wine DigitalEditions.exe
Run Calibre and add a book from ~/Documents/My Digital Editions/bookname.epub