Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/12/2021, à 18:52

jeanlou75

ADE acsm knock

Bonjour,

J'ai repéré ce script mais je ne sais pas comment le mettre en oeuvre, est-ce qqun pourrait m'aider

Knock acsm

Cela pourrait être très utile !
Merci de votre aide

Jean-Louis

Hors ligne

#2 Le 03/12/2021, à 19:27

nany

Re : ADE acsm knock

Bonjour,



Que ne comprends-tu pas dans le README.md ?

README.md a écrit :

Setup and Installation

  1. Create a free Adobe account here if you do not already have one.

  2. Install the software.

    • For NixOS, include this flake in your system flake.nix. Then run knock ~/path/to/my-book.acsm to use.

      inputs.knock.url = github:BentonEdmondson/knock
      outputs = { self, knock }: { /* knock.defaultPackage.x86_64-linux is the package */ }
    • For non-NixOS, use the latest release. It is large because it includes all dependencies, allowing it to run on any system with an x86_64 Linux kernel. It was built using nix bundle. Use it by doing the following:

      1. Download knock-version-x8664-linux and open a terminal

      2. Navigate to the folder within which knock-version-x86_64-linux resides (e.g. cd ~/Downloads)

      3. Run mv knock-version-x86_64-linux knock to rename it to knock

      4. Run chmod +x knock to make it executable

      5. Run ./knock ~/path/to/my-book.acsm to convert the ebook

      6. If you receive an error that says something like ./nix/store/...: not found or ./nix/store/...: No such file or directory then you might not have user namespaces enabled. Try running the following to fix it:

        echo "kernel.unprivileged_userns_clone=1" >> /etc/sysctl.conf
        sudo reboot
      7. Enter in your Adobe email and password when prompted

      8. Optionally move the executable to ~/bin (for your user) or /usr/local/bin/ (for all users) to allow it to run from anywhere (might not work on some distributions)

Hors ligne

#3 Le 03/12/2021, à 19:36

jeanlou75

Re : ADE acsm knock

Ben déjà comment télécharger knock-version-x8664-linux
Et qu'est-ce que c'est que NixOS ?

Hors ligne

#4 Le 03/12/2021, à 19:42

nany

Re : ADE acsm knock

jeanlou75 a écrit :

Ben déjà comment télécharger knock-version-x8664-linux

En prenant la dernière version ici.
Actuellement,

cd ~/Téléchargements && wget -c https://github.com/BentonEdmondson/knock/releases/download/0.1.0-alpha/knock-0.1.0-alpha-x86_64-linux ; cd
jeanlou75 a écrit :

Et qu'est-ce que c'est que NixOS ?

NixOS.

Dernière modification par nany (Le 03/12/2021, à 19:43)

Hors ligne

#5 Le 03/12/2021, à 21:08

jeanlou75

Re : ADE acsm knock

Merci Nany !
Je vois qu'Ubuntu est non NixOS, j'essaierai plus tard et j'en rendrai compte.
Bonne soirée

Hors ligne

#6 Le 04/12/2021, à 10:50

jeanlou75

Re : ADE acsm knock

Bonjour,
Je ne suis pas très doué pour les lignes de commandes mais j'ai réussi et cela fonctionne.
Merci
Jean-Louis

Hors ligne