summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-08-15 16:48:31 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-08-15 17:50:38 +0200
commit05773b4548b9200f564de766e88487cfc1382e54 (patch)
tree5ad6e56be226566d6405c04a49dd915f6bda3b93
parente261fc0a7eb95d5a5a03a500f36ce7a67f2b7356 (diff)
downloadpython-systemd-05773b4548b9200f564de766e88487cfc1382e54.tar.gz
README: drop distro instructions for python2, drop epel/rhel
Fedora has no python2 package, so drop that. Similarly, with latest Debian and Opensuse, 'apt-get install python3-systemd' works, but 'apt-get install python-systemd' doesn't. (Tested with podman run -it --rm debian apt-get install python3-systemd mock -r opensuse-tumbleweed-x86_64 --enable-network -i python3-systemd) It also seems we never built the package in EPEL, so let's drop RHEL/CentOS from the list. If people need to, they can install from sources where the distro packages are unavailable (and they shouldn't be using python2 anyway at this point.) Also add 'apt-get update' into the instructions because w/o that install does not work in a pristine container. Fixes #78.
-rw-r--r--README.md17
1 files changed, 11 insertions, 6 deletions
diff --git a/README.md b/README.md
index 5fb64cf..22601db 100644
--- a/README.md
+++ b/README.md
@@ -17,17 +17,22 @@ Installation
This module should be packaged for almost all Linux distributions. Use
-On Fedora/RHEL/CentOS
+On Fedora:
- dnf install python-systemd python3-systemd
+ dnf install python3-systemd
-On Debian/Ubuntu/Mint
+On Debian/Ubuntu/Mint:
- apt-get install python-systemd python3-systemd
+ apt-get update
+ apt-get install python3-systemd
-On openSUSE and SLE
+On openSUSE and SLE:
- zypper in python-systemd
+ zypper in python3-systemd
+
+On Arch:
+
+ pacman -Sy python-systemd
To build from source
--------------------