Skip to content

Commit 05773b4

Browse files
committed
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.
1 parent e261fc0 commit 05773b4

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,22 @@ Installation
1717

1818
This module should be packaged for almost all Linux distributions. Use
1919

20-
On Fedora/RHEL/CentOS
20+
On Fedora:
2121

22-
dnf install python-systemd python3-systemd
22+
dnf install python3-systemd
2323

24-
On Debian/Ubuntu/Mint
24+
On Debian/Ubuntu/Mint:
2525

26-
apt-get install python-systemd python3-systemd
26+
apt-get update
27+
apt-get install python3-systemd
2728

28-
On openSUSE and SLE
29+
On openSUSE and SLE:
2930

30-
zypper in python-systemd
31+
zypper in python3-systemd
32+
33+
On Arch:
34+
35+
pacman -Sy python-systemd
3136

3237
To build from source
3338
--------------------

0 commit comments

Comments
 (0)