Calibre DRM Removal for Ebooks on Linux - Linux Tutorials - Learn Linux Configuration

I came across this thread and wanted to add the steps that I had to follow to get DeDRM working on Linux using Wine.

  1. Install Adobe Digital Editions. I followed instructions I found in a Reddit thread (sorry, I can’t post the link) called installing_adobe_digital_editions_wine These instructions are for Arch Linux, so for Ubuntu the exact commands will be different, but the key is you need wine, winetricks, samba, and lib32-gnutils.
  2. After you install ADE, open it and activate your computer.
  3. Download and install Python 2.7 (32-bit) and PyCrypto using Wine, e.g.:
    WINEPREFIX="$HOME/.wine32" wine msiexec /i ~/Downloads/python-2.7.18.msi
    WINEPREFIX="$HOME/.wine32" wine ~/Downloads/pycrypto-2.6.win32-py2.7.exe
  4. In Calibre, install DeDRM and configure it. Set the WINEPREFIX to whatever you used (in my case, you can see it was /home/username/.wine32… if you used /home/yourusername/.adewine then you should use this, it’s totally dependent on how you installed ADE!)

This worked for me… if it doesn’t work for you I suggest running Calibre from the command line, you’ll be able to see the errors that DeDRM throws when it tries to decrypt your ADE activation key