From 570a9acda7dd48bf3506abef4c0d4537d24dd961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grandjean?= Date: Sun, 3 Nov 2024 21:32:21 -0600 Subject: [PATCH] Update installation instructions for Fedora users --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 764425e1..21e9adb9 100644 --- a/README.md +++ b/README.md @@ -39,31 +39,31 @@ sudo ln -s $HOME/.local/pipx/venvs/standardebooks/lib/python3.*/site-packages/se ln -s $HOME/.local/pipx/venvs/standardebooks/lib/python3.*/site-packages/se/completions/fish/se $HOME/.config/fish/completions/se.fish ``` -## Fedora users +## Fedora 41 users ```shell # Install some pre-flight dependencies. -sudo dnf install calibre git java-1.8.0-openjdk python3-devel +sudo dnf install pipx python3.12 python3.12-devel gcc libxslt-devel calibre git java-21-openjdk-headless -# Install pipx. -python3 -m pip install --user pipx -python3 -m pipx ensurepath +# Ensure PATH environment variable is correctly set up for pipx +pipx ensurepath # Install the toolset. -pipx install standardebooks +pipx install --python=3.12 standardebooks +pipx inject standardebooks setuptools ``` ### Optional: Install shell completions ```shell # Install ZSH completions. -sudo ln -s $HOME/.local/pipx/venvs/standardebooks/lib/python3.*/site-packages/se/completions/zsh/_se /usr/share/zsh/vendor-completions/_se && hash -rf && compinit +sudo ln -s $HOME/.local/share/pipx/venvs/standardebooks/lib/python3.*/site-packages/se/completions/zsh/_se /usr/share/zsh/vendor-completions/_se && hash -rf && compinit # Install Bash completions. -sudo ln -s $HOME/.local/pipx/venvs/standardebooks/lib/python3.*/site-packages/se/completions/bash/se /usr/share/bash-completion/completions/se +sudo ln -s $HOME/.local/share/pipx/venvs/standardebooks/lib/python3.*/site-packages/se/completions/bash/se /usr/share/bash-completion/completions/se # Install Fish completions. -ln -s $HOME/.local/pipx/venvs/standardebooks/lib/python3.*/site-packages/se/completions/fish/se $HOME/.config/fish/completions/se.fish +ln -s $HOME/.local/share/pipx/venvs/standardebooks/lib/python3.*/site-packages/se/completions/fish/se $HOME/.config/fish/completions/se.fish ``` ## macOS users