Download ACSM files in Linux - without using Adobe Digital Editions!

by @edent | , , , , | 3 comments | Read ~207 times.

After my rant the other day about Adobe Digital Editions, I discovered libgourou by Grégory Soutadé

libgourou is a free implementation of Adobe's ADEPT protocol used to add DRM on ePub files. It overcome the lacks of Adobe support for Linux platforms.

There are a few limitations, but nothing too serious:

  • Only ePub is supported. No PDF
  • Command line only
  • Alpha quality software. It works - but is a bit finickity

You can compile the code yourself, but I just downloaded the pre-built binaries.

On Ubuntu / Pop I needed to sudo apt install libzip-dev.

Once you've unzipped the download, cd into it and run:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD

Then

./adept_activate -u youremail@example.com -p SuperStrongPassword

Use the same credentials as you do in Adobe Digital Editions. You can just use the -u flag and type your password in at the prompt - but I couldn't get that to work. The -p flag worked fine.

After a few seconds, you'll see:
youremail@example.com fully signed and device activated in /home/you/libgourou_utils_0.3.1/./.adept

Then run:
./acsmdownloader -f whatever.acsm

After a few moments, you'll see:
Created whatever.epub

That's it! Your file is downloaded and you can read the ePub.

Note: If you try to download a PDF, you'll get an error saying:
Exception code : 0x5007
Message : whatever.epub

You can rename the file back to .pdf, but it will still be encrypted.

3 thoughts on “Download ACSM files in Linux - without using Adobe Digital Editions!

  1. anika says:

    hello,

    on debian 10 it is not working 🙁
    ./adept_activate -u -p youremail@example.com SuperStrongPassword
    bash: ./adept_activate: Bestand of map bestaat niet

    1. @edent says:

      You need to contact the person who wrote the software - http://indefero.soutade.fr/p/libgourou/issues/

    2. Gerben says:

      I had the same issue. I solved it by changing my adobe password to something without special characters. Just make your password a bit longer so it's still secure.

Leave a Reply

Your email address will not be published. Required fields are marked *