Skip to content

Commit f360726

Browse files
committed
Update install infos to simplify Linux process
See #132.
1 parent ede0a2b commit f360726

File tree

1 file changed

+40
-4
lines changed

1 file changed

+40
-4
lines changed

README.md

+40-4
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,35 @@ Here is what the 2 screen setup looks like, with a big notes slide next to 2 sma
1717

1818
# Installing
1919

20-
- Linux: `pip install pympress` − requires [python, gtk+3, poppler, and their python bindings](#dependencies).
21-
- macOS: `brew install pympress` − using [Homebrew](https://brew.sh/)
22-
- Windows: `choco install pympress` with [Chocolatey](https://chocolatey.org/) or download the installer from the [latest Github release](https://github.com/Cimbali/pympress/releases/latest).
20+
- Ubuntu 20.04 focal or newer, Debian 11 Bullseye or newer:
21+
22+
apt-get install pympress libgtk-3-0 libpoppler-glib8 libcairo2 python3-gi python3-gi-cairo gobject-introspection libgirepository-1.0-1 gir1.2-gtk-3.0 gir1.2-poppler-0.18
23+
24+
- Arch Linux (from AUR):
25+
26+
git clone https://aur.archlinux.org/python-pympress.git
27+
cd python-pympress
28+
makepkg -si
29+
pacman -S poppler-glib # dependency temporarily missing from AUR package
30+
31+
Or using any other tool to manage AUR packages (yay, pacaur, etc.):
32+
33+
yay -S pympress
34+
pacman -S poppler-glib # dependency temporarily missing from AUR package
35+
36+
- Other Linux, requires [python, gtk+3, poppler, and their python bindings](#dependencies):
37+
38+
pip install pympress
39+
40+
- macOS, using [Homebrew](https://brew.sh/):
41+
42+
brew install pympress
43+
44+
- Windows, with [Chocolatey](https://chocolatey.org/):
45+
46+
choco install pympress
47+
48+
Or download the installer from the [latest Github release](https://github.com/Cimbali/pympress/releases/latest).
2349

2450
### Notes
2551
- To support playing embedded videos in the PDFs, your system must have VLC installed (with the same bitness as pympress). VLC is not distributed with pympress, but it is certainly available in your system’s package manager and [on their website](https://www.videolan.org/vlc/).
@@ -96,7 +122,16 @@ For example, on ubuntu, you can run the following as root to make sure you have
96122

97123
Different distributions might have different package naming conventions, for example the equivalent on OpenSUSE would be:
98124

99-
zypper in python3 python3-pip libgtk-3-0 libpoppler-glib8 libcairo2 python3-gobject python3-gobject-Gdk python3-cairo python3-gobject-cairo typelib-1_0-GdkPixbuf-2_0 typelib-1_0-Gtk-3_0 typelib-1_0-Poppler-0_18
125+
zypper install python3 python3-pip libgtk-3-0 libpoppler-glib8 libcairo2 python3-gobject python3-gobject-Gdk python3-cairo python3-gobject-cairo typelib-1_0-GdkPixbuf-2_0 typelib-1_0-Gtk-3_0 typelib-1_0-Poppler-0_18
126+
127+
On CentOS/RHEL/Fedora the dependencies would be:
128+
129+
yum install python36 python3-pip gtk3 poppler-glib cairo gdk-pixbuf2 python3-gobject python3-cairo
130+
131+
And on Arch Linux:
132+
133+
pacman -S --needed python python-pip gtk3 poppler cairo gobject-introspection poppler-glib python-gobject
134+
100135

101136
### On macOS
102137

@@ -156,3 +191,4 @@ and <!-- last translator --> Cimbali.
156191
Official releases are made to [PyPI](https://pypi.org/) and with [github releases](https://github.com/Cimbali/pympress/releases). The community maintains a number of other packages or recipes to install pympress (additions welcome):
157192
- [@Jose1711](https://github.com/jose1711) made the [AUR pympress package](https://aur.archlinux.org/packages/python-pympress/)
158193
- [@ComFreek](https://github.com/ComFreek) maintains the [Chocolatey pympress package](https://chocolatey.org/packages/pympress)
194+
- [@mans0954](https://github.com/mans0954) maintains the [Debian pympress package](https://packages.debian.org/bullseye/pympress) and the [Ubuntu pympress package](https://packages.ubuntu.com/focal/pympress)

0 commit comments

Comments
 (0)