Pages : 1
#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
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 ?
Setup and Installation
Create a free Adobe account here if you do not already have one.
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:
Download knock-version-x8664-linux and open a terminal
Navigate to the folder within which knock-version-x86_64-linux resides (e.g. cd ~/Downloads)
Run mv knock-version-x86_64-linux knock to rename it to knock
Run chmod +x knock to make it executable
Run ./knock ~/path/to/my-book.acsm to convert the ebook
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
Enter in your Adobe email and password when prompted
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)
En 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
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
Et qu'est-ce que c'est que NixOS ?
Dernière modification par nany (Le 03/12/2021, à 19:43)
En 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
Pages : 1